Google Chrome is the world’s most used web browser. But like any other software, it is prone to errors. One such error is the ERR_UNSAFE_PORT error. This is caused due to data being accessed using a port that is not recommended. The error states-
The webpage is not available, The webpage at <Address> might be temporarily down or it may have moved permanently to a new address. Error code: ERR_UNSAFE_PORT
In this article, we will check out how to get rid of the ERR_UNSAFE_PORT error for Google Chrome on Windows 11/10.
ERR_UNSAFE_PORT error on Chrome
We will be taking a look at the following methods to get rid of the ERR_UNSAFE_PORT error for Google Chrome on Windows 11/10
- Set Allowed Ports.
- Reset or Reinstall Google Chrome.
You do not need an administrator account unless you are not allowed to change the port by the administrator.
1] Set Allowed Ports
To do that, first of all, start by launching Google Chrome.
- Right-click on the icon for Google Chrome on the taskbar and again right-click on the entry labeled as Google Chrome.
- Now click on Properties. It will open the Google Chrome Properties window.
- Navigate to the tab labeled Shortcut.
- In the field called Target, type in the following after the whole address-
--explicitly-allowed-ports=xxx
- So it should look like this:
"C:\Documents and Settings\User\Local Settings\Application Data\Google\Chrome\Application\chrome.exe --explicitly-allowed-ports=6666
- Click on Apply and OK for the change to take effect.
2] Reset or Reinstall Google Chrome
To reset Chrome browser, use the Task Manager to ensure that Google Chrome is not running anywhere in the background.
- Now, press the WINKEY + R combinations to open Run and then navigate to the following path:
%USERPROFILE%\AppData\Local\Google\Chrome\User Data
- Now, select the folder Default, hit the Shift + Delete button combinations, and then click Yes for the confirmation prompt you get.
- After deleting the Default folder, open Google Chrome and click the Menu button in the top right corner, denoted by three verticle dots.
- Then, click on Settings. In the Settings section, scroll down and click on Advanced to reveal the Advanced Settings.
- Now, please scroll down to the Restore Settings to their original defaults button and click on it.
This will now give you a prompt like this-
- Click on Reset, and this will reset your Google Chrome browser.
- Now check if your issue is fixed or not.
If nothing helps, you may have to reinstall Google Chrome. First, you will have to completely Uninstall Google Chrome from your computer. This should also include all the leftover folders with browsing data, user data, etc. Now, make sure you download the latest version of Google Chrome from its website and install it.
Did it fix your issue?
How do I allow ports in Chrome?
To allow sites to access pots such as USB, HID, and Serial Ports, you can configure it from within the Privacy Settings of Chrome. Go to Settings > Privacy and Security> Site Settings > Additional permissions. Then select the port, and configure it accordingly.
Which ports are blocked by Chrome?
Chrome itself does not block any specific ports. However, if a firewall blocks a website or service you are trying to access through Chrome, it may be because it is blocking specific ports required for the website or service to function correctly. If you are using a Mac or Windows, the OS has a dedicated security system that allows you to configure that.