https://blog.bbzhh.com/index.php/archives/136.html
想在vps做个测试,看看是否25端口屏蔽是否生效,于是起了一个小web服务在25端口做测试,但是使用chrome访问时,提示:
Error 312 (net::ERR_UNSAFE_PORT): Unknown error
解决方法:
Mac:
/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --explicitly-allowed-ports=5000,6000,7000
Windows:
C:\Documents and Settings\User\Local Settings\Application Data\Google\Chrome\Application\chrome.exe --explicitly-allowed-ports=5000,6000,7000