Identity and Access Management

How to run On-Premise identity server on another port

137 views 0

There are few steps you need to follow when you are trying to run On-Premise Identity Server On Another Port rather than default port 8080. Firstly, you need to check whether ports are free to use by using specific commands. Secondly, you need to make changes in some files to run On-Premise Identity Server on another port.Finally, with the help of Firewall rule you will be allowing your port to accept packets.

These are the files names where you need to do changes:-

  • Change the “startup,shutdown port” located in (mo-idp-server/conf/server.xml file).
  • You also need to change the port in “” file located in (mo-idp-server/moas/WEB-INF/classes/ location).

Commands to check what ports are free to use:-

    • For Windows

netstat -ab

    • For Windows

netstat -tuplen

Commands to open a port on the server to access the IdP from outside Linux:-

    • Add Firewall rule to allow the port to accept packets.

# firewall-cmd --zone=public --add-port=55555/tcp --permanent success
# firewall-cmd --reload success
# iptables-save | grep 55555

By performing the following steps you will be able to run On-Premise Identity Server On Another Port.

Was this helpful?

Hello there!

Need Help? We are right here!

Contact miniOrange Support

Thanks for your inquiry.

If you dont hear from us within 24 hours, please feel free to send a follow up email to