|
-
Jul 10th, 2007, 07:02 PM
#1
Thread Starter
Fanatic Member
[RESOLVED] connecting over internet - client/server IM
My problem lies with being able to connect to another computer that isn't in the LAN. It's over the internet. My program works fine with my two PCs in the same subnet of 192.168.x.x. At one point in time, I was able to connect to my friend who is helping me test this IM program over the internet using their public ip. But now, I can't seem to connect to her. None of her settings have changed. I did find out today that she does have a linksys router between her pc & dsl modem. However, she had the same configuration before and I know she hasn't changed any settings in her router because she doesn't even know how to get in it. I also had her turn off her windows firewall (I make sure she turns it back on after testing). I can't connect to her and it's mysterious how I managed to connect to her the first time and now I can't.
My program listens on port 33221. Now I know she receives a private IP through dhcp because when I have her run ipconfig, it's the 192.168.x.x address. I have even had her put the program on her other pc and it works on her LAN. So the program is listening but my connect request never gets to her. When I try to listen on my end and have her connect, the same thing happens. It never connects. It seems it's only listening on the LAN and not from outside internet connections. I have NAT on my modem but the firewall is disabled. Shouldn't she be able to connect to me?
How can I tell my program to tell the public IP that the private address 192 is listening for a connection and to forward it to that private ip so a connection can be made?
I know NAT/proxy servers only allow connections to be made to their internal ip's if the internal ip requested something. Well, isn't listening sort of a request? Like I said, the program did work once but now it won't. What do I need to do to make it work on a pc on the internet?
Last edited by drivenbywhat; Jul 10th, 2007 at 07:07 PM.
[vb5 & starting to move to vb2008] I appreciate the help I get from everyone. Thank you. 
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
|