Browser security port restrictions
Before writing reptile encounter a problem, Chrome and Firefox are unable to access, operate and colleagues say ie 360 browser can access, I used to curl up next visit, can indeed access, a close look at the browser displays the message, is ERR_UNSAFE_PORT , google the next port of problems found to be safe.
chrome allow non-secure port access
Note: exit the browser, otherwise it will reuse the existing session, resulting in the failure to set
- MacOS:
/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --explicitly-allowed-ports=6666
- Linux:
google-chrome --explicitly-allowed-ports=6666,8888
Firefox allow non-secure port access
Open a new tab page, the address bar enter about: config configuration page to open the browser, search preferences network.security.ports.banned.override, if not then add (preference type string), set its value to 6666. Attempts to access restricted sites success again.
If you need to set up multiple ports, put the preference value is set to the format of 6666,6667.
Gituhb
https://github.com/liangpinglk/blog/blob/master/ browser security port restrictions .md