Não estou conseguindo iniciar o glassfish no ec2.
Comando que estou executando
asadmin> start-domain
There is a process already using the admin port 4848 – it probably is another instance of a GlassFish server.
Command start-domain failed.
asadmin> stop-domain
NCLS-ADMIN-00010
CLI306: Warning - The server located at /home/ec2-user/glassfish5/glassfish/domains/domain1 is not running.
Command stop-domain executed successfully.
asadmin>
Comando netstat antes de executar o comando (start-domain e stop-domain)
Comando netstat depois de executar o comando: (start-domain e stop-domain)
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN -
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN -
tcp6 0 0 :::3700 :::* LISTEN 1777/java
tcp6 0 0 :::8181 :::* LISTEN 1777/java
tcp6 0 0 :::22 :::* LISTEN -
tcp6 0 0 :::7676 :::* LISTEN 1777/java
tcp6 0 0 :::8686 :::* LISTEN 1777/java
tcp6 0 0 :::111 :::* LISTEN -
tcp6 0 0 :::4848 :::* LISTEN 1777/java
tcp6 0 0 :::8080 :::* LISTEN 1777/java
udp 0 0 127.0.0.1:323 0.0.0.0:* -
udp 0 0 0.0.0.0:958 0.0.0.0:* -
udp 0 0 0.0.0.0:68 0.0.0.0:* -
udp 0 0 0.0.0.0:111 0.0.0.0:* -
udp6 0 0 ::1:323 :::* -
udp6 0 0 :::958 :::* -
udp6 0 0 fe80::82c:d6ff:fe4f:546 :::* -
udp6 0 0 :::111 :::* -
meu /etc/hosts está assim:
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 ::1 localhost6 localhost6.localdomain6
Lá no painel EC2 a porta 4848 está liberada
Alguém sabe porque isso está acontecendo?