LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 11-03-2003, 04:26 PM   #1
immer
LQ Newbie
 
Registered: Oct 2003
Location: Somewhere in Europe :-)
Distribution: Linux Mint
Posts: 29

Rep: Reputation: 15
How to change listening port of echo server [RH9]?


How to change listening port of echo server on RH9? I would like to start it on port 80 (for example).
 
Old 11-05-2003, 08:25 AM   #2
yuray
Member
 
Registered: Apr 2003
Location: Russia, Khotkovo
Distribution: Debian
Posts: 146

Rep: Reputation: 15
Edit /etc/xinetd.d/echo-udp
port = 80
restart xinetd
 
Old 11-05-2003, 08:46 AM   #3
immer
LQ Newbie
 
Registered: Oct 2003
Location: Somewhere in Europe :-)
Distribution: Linux Mint
Posts: 29

Original Poster
Rep: Reputation: 15
Thanks for reply.

I also have to edit /etc/services file.
 
Old 11-27-2003, 03:11 PM   #4
RinGz
LQ Newbie
 
Registered: Oct 2003
Location: Atlanta, GA and Dallas, TX
Posts: 23

Rep: Reputation: 15
I'm doing the same for vsftpd (for portscan reasons) and was wondering: why do you need to change the /etc/services file? and how do you change it (i.e. what do you have to change)
thx.
-RinGz
 
Old 11-28-2003, 03:48 AM   #5
immer
LQ Newbie
 
Registered: Oct 2003
Location: Somewhere in Europe :-)
Distribution: Linux Mint
Posts: 29

Original Poster
Rep: Reputation: 15
Quote:
I'm doing the same for vsftpd (for portscan reasons) and was wondering: why do you need to change the /etc/services file?
I can't explain exactly why... but, if I had changed default port of echo service to 80 in /etc/services it started to work. Maybe echo in xinetd is taking port assignment from this file.

Quote:
...and how do you change it (i.e. what do you have to change)
Code:
#echo            7/tcp
echo            80/tcp
#echo            7/udp
echo            80/udp

#http           80/tcp
#http           80/udp
 
Old 11-29-2003, 04:30 PM   #6
RinGz
LQ Newbie
 
Registered: Oct 2003
Location: Atlanta, GA and Dallas, TX
Posts: 23

Rep: Reputation: 15
oh, okay, thx a lot
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Change VNC server port nostracosa Linux - General 6 08-17-2005 08:20 PM
server listening on port 22 and attempted logins from an unauthorized user kevinlyfellow Linux - Networking 2 03-24-2005 10:41 PM
ssh listening on port 22 sharpie Linux - Security 9 06-08-2004 03:28 PM
vsFTPd: change listening port RinGz Linux - Networking 2 11-15-2003 07:35 PM
X server crashing - port listening time112852 Linux - Software 9 10-06-2003 12:20 PM


All times are GMT -5. The time now is 08:17 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration