Reputation: 1971
I have made a simple chat application which communicates with the Tomcat server and tomcat server in turns communicate with MySQL to retrieve users information.
Inside tomcat a servlet is running.
Right Now I am using this on a same network but now I want to publish my app.
For e.x my ip address is 172.24.0.47 and the URL which I am using is http://172.24.0.47:8080/ChatApp/ and the servlet url mapping is
http://localhost:8080/ChatAppDemo/ChatServlet
everything works fine but when I try to access this URL from a device connected to different network its not working.
Do I have to host it using any web hosting service, or is there any other way?
Sorry I really don't know what to do next.
Upvotes: 0
Views: 590
Reputation:
Yes you ahve to use public web hosting services for this.
I think you cna use 000webhost also for this purpose....
Upvotes: 1