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. So if your application is running on port 9090 run the following on the cmd prompt on the web application server.
netstat -an | find "9090"Ensure port 9090 is not blocked in firewall. On windows XP, bypass firewall for port 9090 as follows.
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.
Login to the admin login of your ISP. The user id for Jio is admin. You can get the password from your ISP and verify the WLAN Partition is turned off.
Navigate to Network → Wireless → Access Points → ap1 (Jioprime_2.4) Checked WLAN Partition → was already OFF ❌ (not the issue)
Run the tracert command from the destination machine to get a reply from the source.
C:\Users\winni>tracert 152.143.53.175 Tracing route to WINNITH [152.143.53.175] over a maximum of 30 hops: 1 7 ms 11 ms 4 ms WINNITH [152.143.53.175] Trace complete.
if the hops get timed out it means something on the XP machine is blocking incoming traffic.
C:\Users\winni>tracert 152.143.53.175 Tracing route to 152.143.53.175 over a maximum of 30 hops 1 * myhostname [152.143.55.155] reports: Destination host unreachable. Trace complete.
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://152.143.xx.xxx:9090/resume/
How to Access your web application using url
- For this the first thing you will need to do is get a static ip address from your ISP for the machine hosting the web application.
- You will also need to buy a domain from a web hosting site like godaddy , hostinger, namecheap.com or domains.google.com etc.
- Login to your domain account and in your domain registrar's DNS settings, add a record
- Enable port forwarding in the admin login of your ISP.
- Open Firewall Port on the Server
server {
listen 80;
server_name theoraclereference.in;
rewrite ^/$ http://theoraclereference.in/resume permanent;
location /<projectname> {
proxy_pass http://152.143.53.175:9090/projectname;
}
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root html;
}
}http://myappname/projectname
No comments:
Post a Comment