Unable access wildly server remotely though browser

October 20, 2016 1.7k views
DigitalOcean Deployment Java

I have login in to my remote machine as ssh -p 2022 root@xxx.xxx.xxx.xx
with wildfly 10 server installed on remote machine.Copied simple helloworld.war using command sftp -oPort=2022 root@xxx.xxx.xxx.xx
and put hello-world.war help of url (https://www.digitalocean.com/community/tutorials/how-to-use-sftp-to-securely-transfer-files-with-a-remote-server)
starter server using command

./standalone.sh -Djboss.bind.address=xxx.xxx.xxx.xx Djboss.bind.address.management=xxx.xxx.xxx.xx&
My server log says deployment success
WFLYSRV0010: Deployed “helloworld.war” (runtime-name : “helloworld.war”)
Http management interface listening on http://myIp:9990/management
Admin console listening on http://myIp:9990

When i try to acess http://myIp:9990/management,http://myIp:9990
http://myIp:8080 it not accessible does any more configuration required can can one help please ?

1 Answer

Not a Wildfly expert, but does you have firewall enabled?

Check ufw status:

  • sudo ufw status

If it is enabled make sure you allow needed ports with sudo ufw allow port/tcp

Have another answer? Share your knowledge.