4
5

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

GlassFishのポート番号変更

Last updated at Posted at 2016-03-29

自分用備忘録

以下のフォルダの「domain.xml」をテキストエディタ等で開く

[GlassFish格納フォルダ]\glassfish4\glassfish\domains\domain1\config

約291行目の8080を8081に変更

domain.xml変更前
<network-listener protocol="http-listener-1" port="8080" name="http-listener-1" thread-pool="http-thread-pool" transport="tcp"></network-listener>
domain.xml変更後
<network-listener protocol="http-listener-1" port="8081" name="http-listener-1" thread-pool="http-thread-pool" transport="tcp"></network-listener>

GlassFish再起動後、以下のURLでアクセスできるようになる。
http://localhost:8081/

4
5
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
5

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?