There is a process already using the admin port 4848 -- it probably is another instance of a GlassFish server.
Command start-domain failed.
如果啓動glassfish出現這樣的錯誤,請在你電腦裏的host文件修改一下,比如我電腦的目錄位置爲C:\Windows\System32\drivers\etc下
就是它了。
上圖寫你的IP地址,WEI是我電腦的hostname,就是電腦名稱,修改保存後,就可以啓動成功了