LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-13-2003, 09:00 PM   #1
peo66
LQ Newbie
 
Registered: Jun 2003
Posts: 3

Rep: Reputation: 0
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
 
Old 06-13-2003, 09:09 PM   #2
green_dragon37
Member
 
Registered: Oct 2002
Location: Lower Alabama
Distribution: Slackware, OpenBSD 3.9
Posts: 344

Rep: Reputation: 31
Services that run on ports lower than 1024 have to be started as root.

Ian
 
Old 06-14-2003, 03:31 AM   #3
peo66
LQ Newbie
 
Registered: Jun 2003
Posts: 3

Original Poster
Rep: Reputation: 0
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
 
Old 06-14-2003, 04:52 AM   #4
dorian33
Member
 
Registered: Jan 2003
Location: Poland, Warsaw
Distribution: LFS, Gentoo
Posts: 591

Rep: Reputation: 32
Check firewall.
 
Old 06-14-2003, 05:04 AM   #5
peo66
LQ Newbie
 
Registered: Jun 2003
Posts: 3

Original Poster
Rep: Reputation: 0
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
using privileged ports below 1024 not possible AS ROOT??? flipper333 Slackware 2 01-23-2004 07:35 PM
opening ports below 1024 without being root? meks Linux - Networking 2 12-25-2003 06:05 PM
Ports 1020-1024 purpose? Blinker_Fluid Linux - Security 2 12-01-2003 09:18 AM
Smoothwall Ports Above 1024 inraindreams Linux - Networking 0 03-21-2003 02:49 PM
Smoothwall Ports Above 1024 inraindreams Linux - Hardware 0 03-21-2003 02:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:07 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration