How do I make MetaDefender Core listen on a different port?
By default, MetaDefender Core listens on port 8008. If you would like it to listen on a different one or your company policies require that, following the below instructions is enough. Please note that you must check for port conflicts before following the steps:
-
Open the <MetaDefender Core installation directory>\REST\Config folder (e.g., C:\Program Files (x86)\OPSWAT\MetaDefender Core X\REST\Config).
-
Open the applicationhost.config file in a text editor.
-
Go to the <sites> tag and replace the 8008 from below line with a different port number:
<binding protocol=”http” bindingInformation=”:8008:”/>
-
If desired, you can also enable HTTPS at this step by adding another line:
<binding protocol=”https” bindingInformation=”:443:”/>
-
Save and close the applicationhost.config’ file.
-
Restart the Metascan Rest service.
-
Test that the site is working properly by visiting “127.0.0.1” or “localhost”.
This article applies to MetaDefender Core v3
This article was last updated on 2019-12-19
CN