Single Sign On

Steps to run On-Premise Identity Server on another port

0 views June 12, 2019 August 19, 2019 0

You need to make changes in following files to run On-Premise Identity Server on another port other than default port 8080 –

1. You need to change the startup,shutdown port located in mo-idp-server/conf/server.xml file.
2. You also need to change the port in application.properties file located in mo-idp-server/moas/WEB-INF/classes/ location.

Commands to check what ports are free to use-
1. Windows
netstat -ab

2. Linux
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