I'm making a program which requires to open ports and user connect to them.
Well I'm having a problem when opening ports.
I tried connecting to 127.0.0.1 and 192.168.1.3 (local ips) and it worked.
When I try to connect to my internet IP address it just won't connect... :roll:
What should I do?
Note: I'm using a Jetspeed 500i router and my connection type is ADSL
Regarding your question, did you set up port forwarding at your dsl router, forwarding requests at the specific port to the computer inside?
Uhhh this is what I did:
1) Goto http://192.168.1.1
2) Click Security
3) Type passwords
4) Click "Advanced NAT Configuration..."
5) Click "Add Reserved Mapping..."
6) In the global IP textbox I entered my internet IP (0.0.0.0 would not work :roll: ), in the internal address textbox I entered 192.168.1.3 , in the "Transpot Type" combobox I selected "TCP" (that's what my program uses) and in the port number the port my program uses.
7) Click "Add Reserved Mapping"
After doing these steps nothing happened...
I still couldnt open ports...
If you are referring to the NAT port forwarding table, well, supposingly, you can put "0.0.0.0" instead of the specific public IP address and it will always refer to the wan interface, regardless the IP. But this is intracom's jetspeed we are talking and it does whatever it wants whenever it feels like!
If you are referring to the default route of the router, necessary to have internet through NAT, then you can also put the wan interface's name as the gateway (instead of your current public IP address) so that you will not have to reconstruct the route each time IP address changes. I.E. "quick_wan" for the wan interface created by the webadmin's wizard (recommended). That, at least, appears to work