Remote Wildfly [local docker], connection timed out.

Answered

When I try to deploy the WAR file into the wildfly docker container, the connection times out.

Wildfly is created with its own docker network ip and runs on 10090 as the management interface. This interface is reachable just fine in the browser via http://172.20.12.102:10090/console/index.html#home. Also testing the port availability via netcat shows it's available. Curl same thing.

The weird thing is that when when I'm working at the office (pretty much a default network setting) everything works fine. A couple of days ago when working from home, the connection also times out, but when running deployment again it works (rinse and repeat). Right now working from home again, it doesn't work at all. Rebuilding and restarting the container doesn't work, rebooting Ubuntu doesn't work, Intelij reboot same thing. I've increased the VM-timeout in the vm.options. This also doesn't work.

Error output:

Error running 'JBoss 20.0.1.Final': Unable to connect to the 172.20.12.102:10090, reason: com.intellij.javaee.process.common.WrappedException: java.io.IOException: java.net.ConnectException: WFLYPRT0023: Could not connect to remote+http://172.20.12.102:10090. The connection timed out.

I'm not sure what the issue is here. It's seems to be random and the issue is hard to pinpoint.

0
2 comments

Hi.

Please provide 

- full idea.log after reproducing an error,
- complete textual result from Run/Debug tool window after an attempt to deploy in IDEA
- screenshots of Server, Deployment tabs of Run/Debug Configuration

0
Avatar
Permanently deleted user

Hi, I thought I deleted the ticket but apparently it did not. Anyhow, I've upgraded my Ubuntu 18.04 LTS installation to 20.04.2 LTS and this automagically fixed my issue.

0

Please sign in to leave a comment.