Port Forwarding

Stuff that don´t fit in the other categories.
Post Reply
User avatar
f4Gg0t_43
Fame ! Where are the chicks?!
Fame ! Where are the chicks?!
Posts: 245
Joined: 13 Sep 2008, 16:00
15
Contact:

Port Forwarding

Post by f4Gg0t_43 »

I can't seem to get this to work..

-blue = my ip
-green = forwarded port
-red = my local ip

Image

User avatar
bad_brain
Site Owner
Site Owner
Posts: 11636
Joined: 06 Apr 2005, 16:00
19
Location: In your eye floaters.
Contact:

Post by bad_brain »

um, is a service listening on that port? check with netstat -an
Image

User avatar
Gogeta70
^_^
^_^
Posts: 3275
Joined: 25 Jun 2005, 16:00
18

Post by Gogeta70 »

I find that with my router i can't do '3460 to 3460' i have to do '3460 to 3461' for it to work. Try that.
¯\_(ツ)_/¯ It works on my machine...

User avatar
leetnigga
Fame ! Where are the chicks?!
Fame ! Where are the chicks?!
Posts: 447
Joined: 28 Jul 2009, 16:00
14

Post by leetnigga »

I may be missing something here, but since when do we ping ports?

User avatar
bad_brain
Site Owner
Site Owner
Posts: 11636
Joined: 06 Apr 2005, 16:00
19
Location: In your eye floaters.
Contact:

Post by bad_brain »

right, sending icmp packets to a service will not show if it is available or not, and there isn't even a host:port syntax for ping, so trying to ping a specific port will always fail.
check if the service is listening via netstat and then telnet to that port on the public IP... :wink:
Image

User avatar
ayu
Staff
Staff
Posts: 8109
Joined: 27 Aug 2005, 16:00
18
Contact:

Post by ayu »

leetnigga wrote:I may be missing something here, but since when do we ping ports?
We aren't supposed to write one liners, but .. <3
"The best place to hide a tree, is in a forest"

User avatar
f4Gg0t_43
Fame ! Where are the chicks?!
Fame ! Where are the chicks?!
Posts: 245
Joined: 13 Sep 2008, 16:00
15
Contact:

Post by f4Gg0t_43 »

Okay sorry I didn't know that you couldn't ping ports, I just used that because I thought it would be easier then explaining my specific problem with port forwarding. Anyways, I started the service and did netstat -an and it came back with TCP 0.0.0.0:3460 0.0.0.0 LISTENING. I don't know if that's right or not. I thought it would be either 127.0.0.1, or 192.168.1.1.

Anyway, I have ports 3459-3461 forwarded (just to make sure) and I tried telnet myip 3460, and it just sat there connecting for like 5 minutes and then says Could not open connection to the host, on port 3460: Connect failed. So I tried telnet 192.168.1.1 3460 and it said the same thing.

User avatar
Lundis
Distorter of Reality
Distorter of Reality
Posts: 543
Joined: 22 Aug 2008, 16:00
15
Location: Deadlock of Awesome
Contact:

Post by Lundis »

I'm not sure if this is the same for all routers and stuff out there, but I can't connect to apps on my own comp using my external and internal IP. Instead I have to use 127.0.0.1.... You should try that, then have someone else check if your port is forwarded properly.

Post Reply