Home > Software engineering >  Wrote a wide area network chat tools, mobile broadband customers goods don't even go on to the
Wrote a wide area network chat tools, mobile broadband customers goods don't even go on to the

Time:10-08

The client connection code

TcpClient. Close
TcpClient. RemoteHost=TxtIP. Text 'set server IP
TcpClient. RemotePort=3818 'set the server port
TcpClient. LocalPort=0
TcpClient. Connect 'Connect server
Server is ready there port mapping and so on, is the Great Wall broadband in the district, the server starts, the client installation which families can connect to the chat casually, in mobile broadband, servers are not, why? Thank you very much

CodePudding user response:

CMD to open the console, can use Telnet to see through, can't is not a software problem

CodePudding user response:

I don't know much about, whether in a neighborhood is LAN, so install somewhere else I couldn't get into the server to do the port mapping

CodePudding user response:

A neighborhood generally can't be a local area network, at least are across a network segment, the port mapping can be used is the premise of routing, first of all to have access to your server or as dynamic DNS (if you don't have the public IP is static) or VPN
  • Related