LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   How to change listening port of echo server [RH9]? (https://www.linuxquestions.org/questions/linux-networking-3/how-to-change-listening-port-of-echo-server-%5Brh9%5D-111992/)

immer 11-03-2003 04:26 PM

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).

yuray 11-05-2003 08:25 AM

Edit /etc/xinetd.d/echo-udp
port = 80
restart xinetd

immer 11-05-2003 08:46 AM

Thanks for reply.

I also have to edit /etc/services file.

RinGz 11-27-2003 03:11 PM

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

immer 11-28-2003 03:48 AM

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


RinGz 11-29-2003 04:30 PM

oh, okay, thx a lot :)


All times are GMT -5. The time now is 01:18 PM.