This content has been marked as final.
Show 3 replies
-
1. Re: Not able to access web service via IP
jaikiran Dec 10, 2007 12:47 AM (in response to aidndev)Are you able to ping the JBoss server using this IP from your remote machine? Also, does
telnet xxx.xxx.xxx.xxx 1099
where xxx.xxx.xxx.xxx is the IP of your JBoss server, work from the remote machine?
And what is the exact command that you use to start JBoss? -
2. Re: Not able to access web service via IP
aidndev Dec 10, 2007 2:26 PM (in response to aidndev)I can see the JBoss console, and can see wsdl's for our webservices.
I have added the following part to run.bat:-Djava.rmi.server.hostname=<External IP> -Djava.rmi.server.useLocalHostname=true
because the server is behind router.
1. If I call "run.bat" directly, it starts the webservices on localhost (127.0.0.1:8080).
2. If I call "run.bat -b <Internal IP>", I can see JBoss console and wsdl's from remote machine, but cannot access any webservice methods.
3. If I call "run.bat -b <Internal IP>", I get exception saying that the ports are already in use (they are not) and server does not start properly.
Can you tell me what I am doing wrong? -
3. Re: Not able to access web service via IP
aidndev Dec 10, 2007 2:29 PM (in response to aidndev)Sorry, read the third point as "run.bat -b <External IP>".
Also, all the results are from remote machine. It works fine on the server machine, even if I use external IP to connect to server using GUI.