Results 1 to 12 of 12

Thread: Winsock can only connect to localhost

Hybrid View

  1. #1
    PowerPoster
    Join Date
    Jul 2006
    Location
    Maldon, Essex. UK
    Posts
    6,334

    Re: Winsock can only connect to localhost

    Yes, that's how TCP/IP works. You can't connect to a TCP/IP connection unless something is listening on that combination of IP Address and TCP Port Number.

    As I said before what exactly are you trying to do ?

    If, for instance, you're trying to connect to your external IP address from another computer you'll probably have to enable Port Forwarding for the Port(s) in question on your Router. Normally, in most Routers the not 'well known' ports are not forwarded by default.

    EDIT: If you're trying to connect to Computer A from Computer B on your local network then Computer A will listen on a Port and Computer B will connect to Computer A's IP address and the same Port number.

  2. #2

    Thread Starter
    Member
    Join Date
    Mar 2010
    Posts
    61

    Re: Winsock can only connect to localhost

    Quote Originally Posted by Doogle View Post
    Yes, that's how TCP/IP works. You can't connect to a TCP/IP connection unless something is listening on that combination of IP Address and TCP Port Number.

    As I said before what exactly are you trying to do ?

    If, for instance, you're trying to connect to your external IP address from another computer you'll probably have to enable Port Forwarding for the Port(s) in question on your Router. Normally, in most Routers the not 'well known' ports are not forwarded by default.
    Ohhh.. So I need to have made sure user server has port forwarded, or it won't connect?
    'Cause I just did as test with my friend (server). And it did not work. I cannot access my router so I cannot be the server (It's an access point).

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width