How do I clear an address for Glassfish 4.0 with default settings?

前端 未结 3 1214
梦毁少年i
梦毁少年i 2021-02-06 03:49

I get the following error when I\'m trying to start my glassfish server with default settings from netbeans IDE 7.3.1:

java.net.BindException: Address already in         


        
3条回答
  •  再見小時候
    2021-02-06 04:36

    Have a look at /glassfish/domains/domain1/config/domain.xml, you should find a section like this

    
                  
                  
                  
    
    

    These should be the ports glassfish needs to open. In my case I hade your same error due to the port 8181 being already used by another process. I changed the port to 8187 and everything worked fine. Otherwise you should find (netstat -a -b if you are on windows) and stop the processes using these ports before starting glassfish.

提交回复
热议问题