It is undeniable how widely popular Google Chrome is around the globe. A lot of users prefer this web browser for its lightweight and minimalist features. However, like any other tech product, Chrome is also vulnerable to issues, including the ERR_UNSAFE_PORT error message. When you try to access data using a port that is not recommended by the browser, you will see the following error message:

“The webpage is not available. The webpage at [URL] might be temporarily down or it may have moved permanently to a new address. Error code: ERR_UNSAFE_PORT.”

It can be frustrating to see this error message, especially when the webpage you want to open is crucial to completing your daily tasks. So, in this post, we are going to teach you how to fix ERR_UNSAFE_PORT on Chrome when browsing unsafe ports. Keep reading this article to learn how to get rid of the issue.

Safety Reminder

It is important to note that your computer may be vulnerable to attacks and threats when you browse via an unsafe port. As such, we recommend that you reinforce your PC’s protection by using Auslogics Anti-Malware. What’s great about this tool is it scans your browser extensions to prevent data leaks. Moreover, it detects cookies that track your activity and collect your personal data. So, when you have Auslogics Anti-Malware running on your computer, you can ensure that your browsing experience is safe and secure.

How to Troubleshoot Chrome Error Code: ERR_UNSAFE_PORT This Webpage is not Available

We are going to discuss two ways to resolve the error on Chrome in Windows 10:

  • Allowing Unsafe Ports in Chrome
  • Reinstalling or Resetting Google Chrome

How to Allow Unsafe Ports in Chrome

  1. The first thing you need to do is right-click Google Chrome’s desktop shortcut.
  2. Select Properties from the list.
  3. Once the Google Chrome Properties window is up, go to the Shortcut tab.
  4. Click the box beside Target, then type “–explicitly-allowed-ports=xxx” with no quotes at the end of the address. The entire address should look like this:

“C:\Documents and Settings\User\Local Settings\Application Data\Google\Chrome\Application\chrome.exe –explicitly-allowed-ports=6666

  1. Save the changes you made by clicking Apply and OK.

How to Reinstall or Reset Google Chrome

Before we proceed with the instructions, you need to ensure that Google Chrome is not running. Check the Task Manager to make sure that the browser is not running anywhere in the background. Once you’ve done that, proceed to the instructions below:

  1. On your keyboard, press Windows Key+R. Doing so will launch the Run dialog box.
  2. Inside the Run dialog box, paste the text below:

%USERPROFILE%\AppData\Local\Google\Chrome\User Data

  1. Click OK. Chrome’s User Data folder should open once you do this.
  2. Now, look for the Default folder.
  3. Select that folder, then press Shift+Del on your keyboard.
  4. If prompted to confirm the action, click Yes.
  5. Once you’ve deleted the Default folder, launch Google Chrome.
  6. Click the ‘Customize and control Google Chrome’ icon at the upper-right corner of the browser. It should look like three vertical dots.
  7. Select Settings from the list.
  8. Once you get to the Settings section, scroll down until you see Advanced.
  9. Click it to see the Advanced Settings menu.
  10. Look for the ‘Restore settings to their original defaults’ button and click it.
  11. Once you see the prompt, click the Reset Settings button. Doing so will reset your browser.
  12. After the process is complete, open Chrome and check if the issue has been resolved.

If you’ve tried the solutions above yet the problem persists, we suggest that you reinstall Google Chrome. To do this, you need to remove the app from your PC completely. Needless to say, you must delete leftover folders that contain user data, browsing data, etc. Once you’ve done that, you can download and install the latest version of Google Chrome.

Are there other Chrome-related issues you’d like us to resolve?

Let us know in the comments below!