Troubleshooting › WebUI¶
This page outlines common errors or issues the end-user may come across in regards to the CSF web user interface.
Browser: This Address Is Restricted¶
By default, CSF assigns its web interface to port 6666.
It is important to note that both Firefox and Chromium based browsers have blocked access to a number of ports internally, including port 6666. This is done for security reasons, in order to prevent potential attacks and unsafe connections. Attempting to access the CSF web interface in your browser on the default port will result in the following errors:
| Browser | Error |
|---|---|
| Firefox | This address is restricted. This address uses a network port which is normally used for purposes other than Web browsing. Firefox has canceled the request for your protection. |
| Chromium | This site can’t be reached ERR_UNSAFE_PORT |
Firefox¶
The following is a list of ports that have been blocked by Firefox. The entire source can be found here.
Chromium¶
The following is a list of ports that have been blocked by Chromium. The entire source can be found here.
Solution¶
If you wish to keep CSF's web interface on the default port 6666; you have a few options below to circumvent this block:
Change CSF Web Port¶
If you decide to go with the route of changing the port assigned to the CSF web interface, you must open the CSF config file /etc/csf/csf.conf and modify the setting UI_PORT:
Once you have changed the port, be sure to give CSF's lfd and csf services a restart:
Whitelist Port In Firefox¶
The second option requires that you open your Firefox browser and add the default port 6666 to the browser's whitelist.
- Open Firefox
- In the address bar, type
about:config. - In the top bar labeled
Search perference name, typenetwork.security.ports.banned.override. You should see the setting appear, with options to the right, and a :aetherx-axs-plus: button. - Select the option
String, and click the :aetherx-axs-plus: button.- Boolean
- Number
- String
- When the textbox changes, add your custom port
6666and click the button.- You can add multiple ports to the list as long as they are comma delimited:
6666,6667,...
- You can add multiple ports to the list as long as they are comma delimited:
Whitelist Port In Chromium¶
Allowing restricted ports in Google Chrome requires you to take the original Chrome icon, create a shortcut, and modify the target parameter to include the port you wish to whitelist.
- Right-click on the Chrome desktop icon / shortcut, and select Properties from the context menu.
- In the Google Chrome Properties box, go to the Shortcut tab.
- Add the following line at the end of the Target box:
- To whitelist multiple ports; use a comma delimiter
- Your target should be something along the lines of:
- Click on Apply and then click on OK.