Opening Blocked Ports on Google Chrome

Isn’t it really annoying when you go to visit a page and it gives you a security error, even though you know its safe! Well in Google Chrome at least you can now stop some of those error messages.

Why are certain ports blocked?

Certain ports can be blocked for a whole host of reasons, usually its because they are insecure. Sometimes the browser looks up the port and sees that it is for a specific role, sometimes the role does not involve user interacting with it or using a web browser, so the browser blocks it for your safety.

Why do I want to unblock the ports then?!

I do not know! You are the one that looked at the article! However it sometimes can be useful, say for example you are changing some things on a web management console for a piece of equipment and you accidentally change the management port from lets say 80 to 79, port 79 is a blocked port meaning you cannot then access the management page for that item of equipment.

How do you do it?

Its actually really simple. First off you have to find your chrome.exe file location, its more than likely C:\Users\%username%\AppData\Local\Google\Chrome\Application\chrome.exe . Next you have to decide what ports you want to unblock, so for example 79 and 87. Now all I have to do is add  –explicitly-allowed-ports=79,87 after my chrome.exe file location. So the full thing would look like C:\Users\%username%\AppData\Local\Google\Chrome\Application\chrome.exe –explicitly-allowed-ports=79,87 . I now have to run this, so I will hold the Windows key (Just to the left of ALT) and R, this will bring up a dialog box, in the dialog box simply copy in what we have done and click run. If it does not open up Chrome or gives you an error then you need to check you have the correct location for Chrome on you PC.

1 thought on “Opening Blocked Ports on Google Chrome

  1. A bit confusing. My first thought was how can you add that to a file’s location? Does he mean rename it? The it became apparent you were talking about opening a command window first.

Leave a Comment