Skip to main content

Cannot open ports...

More
20 years 3 months ago #5107 by Mike2
Cannot open ports... was created by Mike2
Hello.

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?

Thanks! :)

Note: I'm using a Jetspeed 500i router and my connection type is ADSL
More
20 years 3 months ago #5113 by nske
Replied by nske on topic Re: Cannot open ports...
welcome mike, I believe that makes us now 3 users from Greece participating at the forum.. excluding of course Chris. Not bad :D

btw I have the same router friend and it's a disaster :cry: :P

Regarding your question, did you set up port forwarding at your dsl router, forwarding requests at the specific port to the computer inside?
More
20 years 3 months ago #5117 by Mike2
Replied by Mike2 on topic Re: Cannot open ports...

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... :(
More
20 years 3 months ago #5122 by nske
Replied by nske on topic Re: Cannot open ports...
yep you did the right thing, and it will be working fromt he outside :)


Thing is that you are trying to access it from the inside, that's why ;)
More
20 years 3 months ago #5123 by Mike2
Replied by Mike2 on topic Re: Cannot open ports...
Ah thank you :)
You were right:
I tried with an MSN friend and it worked!

Just a question: I dont have a static IP. will I have to change the global IP address?
More
20 years 3 months ago #5125 by nske
Replied by nske on topic Re: Cannot 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! :P

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 ;)
Time to create page: 0.127 seconds