How to change Core Web Management Interface Address Port?

By default, MetaDefender Core’s Web Management Interface is available via Port 8008.

This is customizable via Registry Editor in Windows and /etc/ometascan/ometascan.conf file in Linux.

To change the port, you can follow the steps below:

Windows:

  1. Press Win+R, type regedit and press Enter to open Registry Editor:


  1. Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\OPSWAT\Metascan\global, select restport Key and select Modify…


  1. Enter the desired port and click the OK Button


  1. Open a Command Prompt as an Administrator and run the following commands to restart MetaDefender Core Service:

net stop ometascan net start ometascan

  1. You can now access the MetaDefender Core Web Management Interface via configured Port:


Linux:

  1. Open the /etc/ometascan/ometascan.conf file in edit mode:

sudo vim /etc/ometascan/ometascan.conf
  1. Edit the restport value with the desired port:


  1. Save the changes and restart the MetaDefender Core Service using the following command:

sudo systemctl restart ometascan
  1. You can now access the MetaDefender Core Web Management Interface via configured Port:


Support:

If Further Assistance is required, please proceed to create a support case or chat with our support engineer.


On This Page