I need to run multiple instance of wildfly server on the same IP with different port offset. I have followed all steps as given in wildfly guide.
Here is what i did. Firstly i created standalone2 for new instance
I copied /wildflyhome/standalone to /wildflyhome/standalone2
Then I started the first instance as follows
/bin/ ./standalon.sh -Djboss.server.base.dir=$JBOSS_HOME/standalone/ server-config=standalone-full.xml
Its getting started properly. When i access it its loading Admin console and other deployed apps without any problem
Then I started second instance as follows
./standalone.sh -Djboss.server.base.dir=$JBOSS_HOME/standalone2/ -Djboss.socket.binding.port-offset=100 -Djboss.node.name=node1 --server-config=standalone-full.xml
It shows that its started with the following messages in logs:
Http management interface listening on http://127.0.0.1:10090/management
[org.jboss.as] (Controller Boot Thread) JBAS015951: Admin console listening on http://127.0.0.1:10090
[org.jboss.as] (Controller Boot Thread) JBAS015875: WildFly 8.2.0.Final "Tweek" started
After this when i try to access admin console on 10090 port or try to access deployed apps it gives error that the connection has timed out.
Can anyone tell me what i am doing wrong here.