You are not logged in.

#1 2005-05-04 03:43:08

mackstevenson
Member
Registered: 2005-04-14
Posts: 18

port blocked prevents app from working

Dear all,

Although I don't even have ipfilters support compiled into my kernel, external attempts to connect to my tcp port 4662 fail. This happens although (locally) nmap shows it to be open:

# nmap -sT -P0 -p 1-65535 localhost

Starting nmap 3.81 ( http://www.insecure.org/nmap/ ) at 2005-05-03 23:40 EDT
Interesting ports on thinkpad (127.0.0.1):
(The 65533 ports scanned but not shown below are in state: closed)
PORT     STATE SERVICE
4662/tcp open  unknown
6000/tcp open  X11

Nmap finished: 1 IP address (1 host up) scanned in 2.805 seconds

However, it is impossible to connect from the internet to this port. Eg, I've used

http://www.amule.org/testport.php?tcpport=4662

and it always answers that the port is inacessible.

Do you have any idea why this port might not be accessible on my machine? I am a residential cable customer, so I'm not behind a firewall.

Thanks for any clue,

Mack

Offline

#2 2005-05-04 03:45:37

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: port blocked prevents app from working

are you behind a router? or is the cable modem plugged directly int your box?

some cable companies block certain ports - I'd call them an ask what ports they block

Offline

#3 2005-05-04 17:54:27

sud_crow
Member
From: Argentina
Registered: 2003-06-30
Posts: 546
Website

Re: port blocked prevents app from working

Also, if you are behind a router, and its acting like a NAT, then you should FORWARD the port to your PC internal IP (something like virtual server).


Leonardo Andrés Gallego
www.archlinux-es.org || Comunidad Hispana de Arch Linux

Offline

#4 2005-05-05 06:02:26

mackstevenson
Member
Registered: 2005-04-14
Posts: 18

Re: port blocked prevents app from working

Thank you both for your replies; no, I'm not behind a router. Can you think of some other reason why outside machines might be unable to connect? If I can do "active" ftp, why shouldn't this work?

Is there some conservative configuration in arch which closes ports by default? I've noticed that tcp_wrappers was installed when I installed some other package (cups?) and listed "all" in /etc/hosts.allow.

Thanks for any other tip,

Mack

Offline

#5 2005-05-05 19:05:26

sud_crow
Member
From: Argentina
Registered: 2003-06-30
Posts: 546
Website

Re: port blocked prevents app from working

Actually a cable modem, acts as a router, as long as it has DHCP service in it, and im pretty sure its in NAT mode (so if you connect a switch to it, you can access internet from multiple PCs)...
Arch has no port blocking per default that im aware of.

EDIT:
Also, as you see with nmap the port is open in your computer, but you cant reach it from internet because when you are behind a NAT you have to forward that port in the router/cablemodem/dslmodem to your PC IP and port. This was what i was talking in my first post. (Im quite sure about the cablemodem being in NAT mode and causing this problem, but i could be wrong, in my case, this was the problem (though i have DSL)).


Leonardo Andrés Gallego
www.archlinux-es.org || Comunidad Hispana de Arch Linux

Offline

#6 2005-05-05 19:11:03

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: port blocked prevents app from working

mackstevenson wrote:

Is there some conservative configuration in arch which closes ports by default?

even if it did, nmap shows ports specifically open, correct?

port blocking has to do with network configuration - I suggest figuring out how to configure your cable modem (try browsing to 192.168.0.1 or 192.168.1.1) and forward the port... it sounds like your modem is firewalling you

EDIT: doh! beaten...

Offline

#7 2005-05-05 22:54:30

mackstevenson
Member
Registered: 2005-04-14
Posts: 18

Re: port blocked prevents app from working

Thank you all, I will look into that.

/Mack

Offline

Board footer

Powered by FluxBB