LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Ports below 1024 (https://www.linuxquestions.org/questions/linux-networking-3/ports-below-1024-a-65498/)

peo66 06-13-2003 09:00 PM

Ports below 1024
 
Hi all,

I trying to move my webserver to a Linux platform. When i run the server on port e.g. 8080 I can connect to it from other computers. but when I use a port below 1024 i can't connect to the linux computer. The same goes for ssh which i had to moved from 22 to 2222 to make it work. Below 1024 both the sshd and httpd starts nicely and i can connect to the on localhost. but not remote.

I'm only using iptables (not ipchains) that accepts all.


What am I missing?

TIA

/Peter

green_dragon37 06-13-2003 09:09 PM

Services that run on ports lower than 1024 have to be started as root.

Ian

peo66 06-14-2003 03:31 AM

This is not the problem, I start the services as root and they do start, e.g. netstat shows that sshd i listening on port 22. And i can connect to the service from the loccalhots. But _not_ from antoher computer in the network.

??
TIA /Peter

dorian33 06-14-2003 04:52 AM

Check firewall.

peo66 06-14-2003 05:04 AM

I've removed ipchains
Installed latest iptables
show on iptables displays ACCEPT on all categories.
The linux i a clean Redhat 7.1 server installation.
I'dont think there is any other firewall programs running!?
How do i check that?, this is my first Linus installation:-)

TIA /Peter


All times are GMT -5. The time now is 06:37 AM.