MetaDefender Storage Security's web interface normally uses port 80 (for regular web access) and port 443 (for secure web access). If you need to use different ports, follow these steps:
For Linux Users:
Open the Configuration File:
- Having elevated privileges, use a text editor to open the file located at
/etc/mdss/customer.env.
- Having elevated privileges, use a text editor to open the file located at
Change the Port Numbers:
Find or add these lines:
WEB_PORT = 80WEB_PORT_SSL = 443
Replace
80and443with the new port numbers you want to use.
Save the Changes:
- Save the
customer.envfile.
- Save the
Restart MetaDefender Storage Security:
- Open a terminal and run this command:
sudo mdss -c restart
- Open a terminal and run this command:
For Windows Users:
Setting up a custom Web interface port can be done either during the installation process (Windows Installation) or after the installation by following the steps below:
Open the Configuration File:
- Having elevated privileges, open the file
C:\Program Files\OPSWAT\MetaDefender Storage Security\config\customer.envusing a text editor like Notepad.
- Having elevated privileges, open the file
Change the Port Numbers:
Find or add these lines:
WEB_PORT = 80
(Optional) If running on HTTPS
WEB_PORT_SSL = 443
Replace
80and443with the new port numbers.
Save the Changes:
- Save the
customer.envfile.
- Save the
Apply the Changes and Restart:
- Open powershell.
- Run these commands:
cd "C:\Program Files\OPSWAT\MetaDefender Storage Security\scripts".\mdss.ps1 -c refresh- This command will refresh the environment variables and restart MetaDefender Storage Security.
