I'm getting this error when connecting to a web server on port 6666 (http://myserver:6666/):
Error 312 (net::ERR_UNSAFE_PORT): Unknown error.
Is there an easy way to resolve this without rebuilding Chrome from source?
Right Click on Chrome shortcut >> Properties >>
Resource from here
You may be able to turn this off in Google Chrome, but you do so at your own risk. There is actually a good security reason why Chrome blocks these ports: Basically you open your browser up to being an open proxy for attackers to use to attack other services on your network.
For more information: Why does Chrome consider some ports unsafe?
As subanki said, you've got to add the
In Ubuntu you can do this (as root) by editing the "google-chrome" script under your Chrome installation folder
You can get the directory by typing:
Then, edit the "google-chrome" file adding the mentioned switch to the EXEC line:
Just change "6000" with the comma separated values you might need (example:
NOTE: for UNIX, the switch does NOT start with "--", it does with a single "-"