In this case, the rpcport argument is silently ignored:
0-testnet -nolisten -server -connect 192.168.1.11 -rpcport=12345
However, when adding a = after connect, it works, i.e.
0-testnet -nolisten -server -connect=192.168.1.11 -rpcport=12345
It could be that the first is simply wrong; in that case, it should probably show an error message.