Skip to the content.

王孝东的个人空间

Windows 10

开启telnet

C:\WINDOWS\system32>dism /online /Enable-Feature /FeatureName:TelnetClient

Deployment Image Servicing and Management tool
Version: 10.0.10586.0

Image Version: 10.0.10586.0

Enabling feature(s)
[==========================100.0%==========================]
The operation completed successfully.

C:\WINDOWS\system32>

执行该命令的时候需要以管理员身份,否则会740 error:

进入到C:\WINDOWS\system32, 鼠标右键点击cmd.exe,选择以管理员身份运行即可

Windows CMD设置UTF-8

  1. 打开命令行窗口,并执行chcp 65001
    Microsoft Windows [Version 10.0.14393]
    (c) 2016 Microsoft Corporation. All rights reserved.
       
    C:\Users\wanxiaod>chcp 65001
    Active code page: 65001
       
    C:\Users\wanxiaod>
    
  2. 修改窗口属性:在命令行标题栏上点击右键,选择”属性”->”字体”,将字体修改为True Type字体”Lucida Console”,然后点击确定将属性应用到当前窗口 CMD_UTF8

打开端口

如果windows 10系统上的的tomcat端口在本机能够正常访问,而不能从其他机器访问的话,通常是防火墙限制了端口的访问,可以按照如下方式打开端口: