%e3%82%b9%e3%82%af%e3%83%aa%e3%83%bc%e3%83%b3%e3%82%b7%e3%83%a7%e3%83%83%e3%83%88-2016-11-23-13-44-01

【NetBeans/glassfish】これ。Shutting down server due to startup exception java.net.BindException: Address already in use

【NetBeans/glassfish】これ。Shutting down server due to startup exception java.net.BindException: Address already in use

 Shutting down server due to startup exception java.net.BindException: Address already in use

Shutting down server due to startup exception
java.net.BindException: Address already in use

ここで同じ問題
http://stackoverflow.com/questions/18045897/how-to-run-glassfish-4-on-port-80-instead-of-8080-root-acess-is-not-an-issue/18046881#18046881
が話されている

このファイルまで移動して
/Applications/NetBeans/glassfish-4.1.1/glassfish/domains/domain1/config/domain.xml

【NetBeans/glassfish】これ。Shutting down server due to startup exception java.net.BindException: Address already in use

【NetBeans/glassfish】これ。Shutting down server due to startup exception java.net.BindException: Address already in use

ここの
216行付近の
network-listeners
のポート番号を変える

        <network-listeners>
          <network-listener name="http-listener-1" port="9999" protocol="http-listener-1" thread-pool="http-thread-pool" transport="tcp"/>
          <network-listener name="http-listener-2" port="9998" protocol="http-listener-2" thread-pool="http-thread-pool" transport="tcp"/>
          <network-listener name="admin-listener" port="4848" protocol="admin-listener" thread-pool="admin-thread-pool" transport="tcp"/>
        </network-listeners>

環境設定大変。。

でわーーー

(Visited 1 times, 1 visits today)