- 论坛徽章:
- 0
|
请教一下,怎么修改默认telnet(23)端口号。
呵呵,我当然做过啦 我是这样做的,结果是不行,如果哪里有错请提示,谢谢:\r\n\r\n1,vi /etc/services 把23改成1111(无其它用此端口)\r\n2,refresh -s inetd\r\n3,telnet from PC client(telnet x.x.x.x:1111), failed\r\n4,kill -1 (telnetd PID), then my session was been disconnected\r\n5,telnet from PC client(telnet x.x.x.x:1111), failed again\r\n6,telnet to another 6000 server then rsh to the test server\r\n7,vi /etc/services change the 1111 to 23\r\n8,refresh -s inetd\r\n9, succeed telnet the server\'s 23 port\r\n10, finished\r\n\r\nMy opinion,though you had changed the port of /etc/services file, the telnetd can\'t use this port to listening the incoming request. |
|