TIL:
Purpose:
Port 0 is officially a reserved port in TCP/IP networking, meaning that it should not be used for any TCP or UDP network communications. However, port 0 sometimes takes on a special meaning in network programming, particularly Unix socket programming. In that environment, port 0 is a programming technique for specifying system-allocated (dynamic) ports.
Description:
Configuring a new socket connection requires assigning a TCP or UDP port number. Instead of hard-coding a particular port number, or writing code that searches for an available port on the local system, network programmers can instead specify port 0 as a connection parameter. That triggers the operating system to automatically search for and return the next available port in the dynamic port number range.
Unix, Windows and other operating systems vary slightly in their handling of port 0.
http://compnetworking.about.com/od/tcpip/p/port-numbers-0.htmedited my post above:
darkcoind both machines version 100603, getinfo on the
local box lists me as BOTH port 9999 and 0 but getinfo on
server only lists IP:9999
Whether that has anything to do with what you posted, I'll take your word for it!
![Grin](https://bitcointalk.org/Smileys/default/grin.gif)
Just noticed getinfo on the server shows balance zero, I assume this is fine, I've rm'd the wallet.dat with the 1000DRK in it serverside, it's generated a new empty wallet on darkcoind start.
edit #26: Just also realised I've had to do no port forwarding or other shennanigans on my home router for this to (I think) work.
When I do "getinfo" I don't get the port number at all. Should it be showing up here? Maybe that's my problem when trying to set up my remote wallet?
{
"version" : 100603,
"protocolversion" : 70014,
"walletversion" : 60000,
"balance" : 1000.00000000,
"blocks" : 64094,
"timeoffset" : 0,
"connections" : 26,
"proxy" : "",
"difficulty" : 1036.08848953,
"testnet" : false,
"keypoololdest" : 1398060356,
"keypoolsize" : 100,
"paytxfee" : 0.00000000,
"mininput" : 0.00001000,
"unlocked_until" : 0,
"errors" : ""