Reputation: 28312
Currently I have a Windows 2008 R2 server. On this server I have installed Glassfish 3.1. On my server, I also have a copy of Netbeans installed. I use Netbeans to develop a web service. I can get Netbeans to deploy the web service I have created correctly to Glassfish, but it deploys on localhost. Do I need to modify Glassfish or Netbeans so that the web service is deployed on the public ip address for the server and not local host?
Thanks
Upvotes: 0
Views: 1388
Reputation: 75446
Glassfish in the standard configuration binds to all network interfaces (i.e. responds on all IP-numbers the machine has).
Hence, if you have deployed it to Glassfish on a machine you should be able to access it with an URL pointing to any of the machines names or IP-numbers.
Upvotes: 1