Jump to content

Is it possible for anyone who has an internet connection to access my tcp server?


Recommended Posts

should $g_IP be "127.0.0.1" or my ip address?

Sure you shouldn't forward to 127.0.0.1 :mellow:, you should forward to your computer address.

Just an example:

If your computer ip is 192.168.1.33 and your tcp server is listening in that ip and port 4321 you should configure your router to forward the incoming connections to port 4321 to your computer ip (in this example 192.168.1.33).

Edited by sahsanu
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...