I wanna deploy a java app on tomcat 9 to be accessible by typing an address like www.justanormalapp.stuff. Now I have a dedicated server machine on which i'm going to be installing tomcat and deploying the WAR app file but it can be only accessed locally through http://localhost:8080/myapp/ and I don't know how to make it accessible online.
I am not looking for some fancy domain name as anything free will do since the app is only going to be used for 3 - 6 months.
If all your PCs are not in the same net, you have to create an VPN to allow external computers access to your server.
So:
- Create your VPN .
- Configure VPN in the PCs where you want to access to your application
- Use ip:port/myapp
This should be enough.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.