Navigation Bar

Monday, March 28, 2016

To access your web application from any machine on the internet

Deploy you application on JBOSS.

start the JBOSS web server with the following command.

run.bat -b 0.0.0.0 - this indicates the web application is accessible from any ip address.

Make sure the host server ip is accessible from any other machine having the same ISP provider.

ping ipaddress

telnet <ipaddress> <port>

Verify the web application is running on the said port using the netstat command

netstat -an | find "9090" on the web application server.

Ensure port 9090 is not blocked in firewall

Start → Control Panel → Windows Firewall

Click on Exceptions tab

Click "Add Port"

Fill in:

Name: JBoss 9090

Port number: 9090

Select TCP

Click OK

Click OK again to close firewall window.

Run tracert 192.168.xx.xxx

if the hops get timed out it means something on the XP machine is blocking incoming traffic.

Last check left was to check the antivirus installed. I was having NORTON antivirus.

Uninstalled Norton 360 and telnet to port 9090 worked.

Root cause of the problem was

Norton 360 installation was blocking incoming connections.

Now I am able to access the web application using

http://192.168.xx.xxx:9090/resume/

Next to start with accessing the site with url instead of ip address.


No comments:

Post a Comment