1 修改配置文件 sudo vi/etc/services,我改了端口11123 2 重启telnet服务 sudo launchctl load -w /System/Library/LaunchDaemons/telnet.plist