How to make my computer as a server so I run the application on IDE and be accessible by other computers on same network via their browsers?
Asked
Active
Viewed 1,796 times
2 Answers
1
You can't make "localhost" accessible, by definition. What you can do instead is have the server process listen on an external IP address (or all addresses) instead of just on the loopback address. We can provide a more specific answer if you'll tell us how you're launching the application server.

chrylis -cautiouslyoptimistic-
- 75,269
- 21
- 115
- 152
-
I am launching it locally, I've just added Glassfish as a Netbean's server and run the application. – J888 Nov 28 '13 at 02:01
1
If your server local ip for example is 192.168.1.20 and your web server port is 8080 then you can access your server by giving IP:PORT in the browser eg: 192.168.1.20:8080/index.jsp

ShresthaR
- 1,114
- 2
- 10
- 14