Reputation: 1964
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?
Upvotes: 0
Views: 2367
Reputation: 1274
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
Upvotes: 1
Reputation: 77226
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.
Upvotes: 1