(→Changing IPs of the anthillpro server)
|
(Changed formatting)
|
Line 5: | |||
If a server is bound by an IP address, and is not considering all IP addresses for communication, the following will need to be changed: | If a server is bound by an IP address, and is not considering all IP addresses for communication, the following will need to be changed: | ||
- | * %SERVER_HOME%\conf\server\ | + | * '''%SERVER_HOME%\conf\server\''' |
- | :* installed.properties | + | :* ''installed.properties'' |
::* Find the line that says 'install.server.web.ip' and change it to '0.0.0.0' | ::* Find the line that says 'install.server.web.ip' and change it to '0.0.0.0' | ||
Line 13: | |||
- | :* activemq.xml | + | :* ''activemq.xml'' |
::* Find the line that starts '<transportConnector uri=...' and change ONLY the IP address portion to '0.0.0.0'. Leave ports and closing tag intact. | ::* Find the line that starts '<transportConnector uri=...' and change ONLY the IP address portion to '0.0.0.0'. Leave ports and closing tag intact. | ||
Line 17: | |||
- | * %SERVER_HOME%\opt\tomcat\conf\ | + | * '''%SERVER_HOME%\opt\tomcat\conf\''' |
- | :* server.xml | + | :* ''server.xml'' |
::* Make sure that the 'address' section is set to "0.0.0.0" | ::* Make sure that the 'address' section is set to "0.0.0.0" | ||
Line 23: | |||
- | * Finally, update the database | + | * Finally, '''update the database''' |
- | :* Retrieve current info from the database | + | :* ''Retrieve current info from the database'' |
::* <pre>SELECT DATA FROM SINGLETON WHERE ID=1 AND CLASS LIKE '%ServerSettings'</pre> | ::* <pre>SELECT DATA FROM SINGLETON WHERE ID=1 AND CLASS LIKE '%ServerSettings'</pre> | ||
- | :* Set new information in the database | + | :* ''Set new information in the database'' |
::* <pre>UPDATE SINGLETON SET DATA='...' WHERE ID=1 AND CLASS LIKE '%ServerSettings'</pre> | ::* <pre>UPDATE SINGLETON SET DATA='...' WHERE ID=1 AND CLASS LIKE '%ServerSettings'</pre> | ||
- | ::* Change ONLY the bind-ip and the connector-ip in the XML that is in the DATA CLOB. | + | ====== Change ONLY the bind-ip and the connector-ip in the XML that is in the DATA CLOB. ====== |
- | <br> | + | ---- |
- | <br> | ||
- | And that's all there is to changing the IP on the server. | ||
==== Please keep in mind that it is never a good idea to bind to anything other than 0.0.0.0; this way the server will accept any new IP address and steps like this can be avoided in the future. ==== | ==== Please keep in mind that it is never a good idea to bind to anything other than 0.0.0.0; this way the server will accept any new IP address and steps like this can be avoided in the future. ==== |