|
-
Sep 12th, 2010, 02:58 AM
#1
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.
-
Sep 12th, 2010, 03:00 AM
#2
Thread Starter
Member
Re: Winsock can only connect to localhost
 Originally Posted by Doogle
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|