windows 2003下修改telnet端口
一、修改本地2003的telnet端口方法: c:\>tlntadmn config port=23(可以把23改为其它未使用的端口)
二、修改远程2003的telnet端口方法c:\>tlntadmn config \\192.168.1.1 port=23 -u administrator -p benet 注:\\192.168.1.1 对方IP port=23 要修改为的telnet 端口 -u 指定对方的用户名 -p 指定对方用户的密码
三、如果要telnet登陆,除了开启telnet服务,还要开启Secondary Logon服务。
【问题描述】服务器系统windows2003,服务启动telnet后,用telnet登陆(windowsxp),结果出现错误:
Failure in initializing the telnet session. Shell process may not have been launched,Telnet Server has closed the connection.
【问题分析】如果要telnet登陆,除了开启telnet服务,还要开启Secondary Logon服务。
【解决方法】服务里面开启Secondary Logon服务。
ps:telnet连不上还有多种可能,还有可能是防火墙禁止了23端口(telnet默认端口是23)。
如果在内网,路由器要映射端口。比如(外网24端口,映射内网23端口)
telnet xxx.xxx.xxx.xxx 24
(xxx.xxx.xxx.xxx是外网地址,地址和端口间只有一个空格)