-1

Actually, I have deployed my web service in the JBOSS server. I'm able to access the server by using the below url: http://localhost:8080/CxfRestService/rest/employeeservices?empName=abc

I'm trying to access the sever by using my ip address instead of localhost.But,I'm unable to connect to the server.I'm facing page can't be displayed error.

Can anyone please help me out regarding this issue ...

dev777
  • 919
  • 5
  • 16
  • 31

2 Answers2

0

Have you tried to use the -b option when starting the server?

You should also take a look here for more details: https://developer.jboss.org/wiki/JBoss42FAQ

kamino
  • 367
  • 1
  • 11
0

If you were starting jboss through eclipse , i am not familiar with the way to achieve that .

The alternative is to start Jboss through Command prompt . Navigate to "bin" folder which is inside the "jboss" folder in the command prompt and execute the following command

run.bat -b 10.27.167.135 .

I've used random IP . Replace the IP with your IP . This will bind it to the IP address specified .

Community
  • 1
  • 1