If you are able to connect to the same server:port combination on one internet connection but not the other, this may mean that a particular server:port combination is being blocked by the internet provider on the other connection. You could try using a different port number, or a different server address on the same network, to see if that works.