Jump to content

tcp ip over internet

Recommended Posts

The client server model using tcp ip is working fine in local network. Need help to transfer data over internet.


Server address:

    Local $sIPAddress = ""
    Local $iPort = 65432
    Local $m = MyTCP_Server($sIPAddress, $iPort)


Client address:

    Local $sIPAddress = "" ; 
    Local $iPort = 65432 ; 
    MyTCP_Client($sIPAddress, $iPort)


How can I configure ?


Ramesh G

Share this post

Link to post
Share on other sites

Agreed, your WAN facing router will need to be configured to do port forwarding. That will allow an external address/port to properly connect to the NAT'd device on your internal network.  You can even declare that particular ports forward to alternative ports on the internal LAN.  For example, a port forward can be setup to allow an incoming connection on external_ip:2424 to redirect to internal_ip:65432

Edited by spudw2k

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...