> Properties >> Then Append --explicitly-allowed-ports=xxx to shortcut targetExample: C:Documents and SettingsUserLocal SettingsApplication DataGoogleChromeApplicationchrome" /> > Properties >> Then Append --explicitly-allowed-ports=xxx to shortcut targetExample: C:Documents and SettingsUserLocal SettingsApplication DataGoogleChromeApplicationchrome" />

Chrome err_unsafe_port

I"m acquiring this error as soon as connecting to a internet server on port 6666 (http://myserver:6666/):

Error 312 (net::ERR_UNSAFE_PORT): Unknown error.

You watching: Chrome err_unsafe_port

Is tright here a basic means to deal with this without restructure Chrome from source?


On Windows:

Right Click on Chrome shortcut >> Properties >>

Then Append --explicitly-allowed-ports=xxx to shortreduced target


C:Documents and SettingsUserLocal SettingsApplication DataGoogleChromeApplicationchrome.exe --explicitly-allowed-ports=6666

Reresource from here



You might have the ability to rotate this off in Google Chrome, however you do so at your own threat. Tbelow is actually a good protection reason why Chrome blocks these ports: Basically you open your internet browser approximately being an open proxy for attackers to usage to strike various other services on your network-related.

For more information: Why does Chrome take into consideration some ports unsafe?


On Mac you deserve to develop an app launching Chrome with parameters mentioned in other answers making use of Automator built-in Apple application:

Launch Automator

As "Type of document" pick "Application"

Add activity "Run shell script"

Relocation placeholder cat script in this action with:

/Applications/Google Chrome.app/Contents/MacOS/Google Chrome --explicitly-allowed-ports=5000,6000,7000

Save the produced app as something choose "Google Chrome with permitted unsafe ports" in your Application folder

Use this brand-new app rather of Google Chrome straight

Source: http://cubewot.de/node/266


Improve this answer
edited Apr 13 "17 at 12:45

answered Apr 14 "16 at 10:26
20011 silver badge66 bronze badges
Add a comment |
For Mac:

/Applications/Google Chrome.app/Contents/MacOS/Google Chrome --explicitly-allowed-ports=5000,6000,7000for ports 5000, 6000, and also 7000.

See more: Cant Type In Microsoft Word Doc? Here Are 7 Quick Fix Solutions

Improve this answer
answered Aug 21 "15 at 16:19
15111 silver badge33 bronze badges
Add a comment |
As subanki sassist, you"ve obtained to include the -explicitly-allowed-ports choice to your Chrome startup command also.

In Ubuntu you deserve to carry out this (as root) by editing the "google-chrome" manuscript under your Chrome installation folder

You can acquire the catalog by typing:

ls -la /usr/bin | grep chromeThen, modify the "google-chrome" file including the discussed switch to the EXEC line:

exec -a "$0" "$HERE/chrome" "-explicitly-allowed-ports=6000" "$
"Just adjust "6000" via the comma separated worths you might need (example: -explicitly-allowed-ports=5000,6000,7000)

NOTE: for UNIX, the switch does NOT start through "--", it does via a solitary "-"

Improve this answer
edited Jan 7 "14 at 9:16
1,48644 gold badges1616 silver badges1919 bronze badges
answered Jan 7 "14 at 7:57
4111 bronze badge
Add a comment |
Here is the correct answer for those of you who are developers using node.js as a web serverChange the port you are utilizing to organize your web pages.For exampleif you typed into command also line node index.js & pressed enter,if it began running on port 22 for 80 http request,when you visit the website at port 22,the chrome browser through throw this error page.,br>keyword UNSAFE PORT indicates port needs to complement the content.Thank you.

See more: How To Increase Dedicated Video Memory Intel Hd Graphics 3000

Improve this answer
answered Mar 7 "18 at 22:27
15111 silver badge88 bronze badges
Add a comment |
Highly active question. Earn 10 reputation in order to answer this question. The reputation requirement helps defend this question from spam and also non-answer task.

Not the answer you're looking for? Browse various other concerns tagged google-chrome or ask your very own question.

The Overcirculation Blog
Featured on Meta
Which ports are considered unsafe by Chrome?
How to collection port 6000 for chrome?
How to deal with ERR_UNSAFE_PORT error on Mac OS Chrome 74
Error 310 in Chrome when looking to a certain web site
Google Chrome giving error 138
Redeal with ERR_EMPTY_RESPONSE error on Chrome or any type of Browser
Chrome error once refixing URLs for the first time
How to “load unsafe script” in google chrome frame
How to upday chrome web browser without uninstall ( for error 1 )?
NET::ERR_CERT_DATE_INVALID error in Chrome once searching python.org or github.com
Hot Network-related Questions more hot inquiries
Inquiry feed
Subscribe to RSS
Question feed To subscribe to this RSS feed, copy and paste this URL right into your RSS reader.

Super User
Stack Exadjust Netoccupational
site style / logo © 2021 Stack Exadjust Inc; user contributions licensed under cc by-sa. rev2021.4.1.38970

Super User functions finest via JavaScript permitted

Your privacy

By clicking “Accept all cookies”, you agree Stack Exchange can store cookies on your gadget and discshed information in accordance with our Cookie Policy.