简体   繁体   中英

how to add java web application to main server

I m new to java web programming . Currently I am developing a java web application using tomcat in my pc. Can anyone suggest how to add this application to main network , such that other users can also use this application.

Softwares used - tomcat ,netbeans and mysql

Thanks .

First of all make .war file of your project, check that all configuration okay or not.

Stop Tomcat Service by going in bin directory of tomcat.

Make war then tomcat directory -> webapp then paste that war file to it and start the service.

Now Check that your firewall allows port 8080 Inboubnd rules or not.

In firewall advance setting In inbound rules create new rule then select port then add 8080 in this next next ok.

Now from any other PC check by typing your PC 's IP like 192.168.1.10:8080/appname .

If got problem post me.

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM