Showing results for 
Search instead for 
Did you mean: 
Level 9

Changing GUI port for admin access back to 4712

Hi all,

Is there a method of changing the https connector port back to 4712, from the command line?

(the port has been changed and promptly forgotten, and we have no access to the gui via 4711 and we never will have).

We do have ssh and local access to the appliance....

The appliance is part of a central management group of two mwg' some..

We also have a valid backup which we could restore to the appliance (restore configuration as well as policy), which I think will restore the listener to 4712, but it's a last resort.

Any thoughts appreciated...

0 Kudos
2 Replies
Level 15

Re: Changing GUI port for admin access back to 4712

Look at the file:


Look for the lines with the port number defined:

<Connector server="mwg-ui" URIEncoding="UTF-8" port="NNN" protocol="HTTP/1.1" maxThreads="500" connectionTimeout="20000" redirectPort="8443" maxPostSize="2048" maxSavePostSize="0" />

<Connector server="mwg-ui" URIEncoding="UTF-8" port="NNN" protocol="HTTP/1.1" SSLEnabled="true" maxThreads="500" connectionTimeout="20000" scheme="https" secure="true" SSLProtocol="TLSv1+TLSv1.1+TLSv1.2" SSLCipherSuite="!ADH:!aNULL:!eNULL:!3DES:HIGH" SSLHonorCipherOrder="true" SSLCertificateFile="/usr/share/mwg-ui/ssl/servercert.pem" SSLCertificateKeyFile="/usr/share/mwg-ui/ssl/serverkey.pem" maxPostSize="2048" maxSavePostSize="0" />

Those should be the ones you can access.

If you want to temporarily change them, edit the numbers and service mwg-ui restart

Once you are back in the GUI, change it and save it so it's permanent again.

0 Kudos
Level 9

Re: Changing GUI port for admin access back to 4712

Thanks Eric.


0 Kudos