-
Hi all, I run the following command on a Azure RHEL Linux VM: podman run -d --name akhq_mert -p 8080:8080 -v /tmp/application.yml:/app/application.yml docker.io/tchiotludo/akhq:0.23.0 The application.yml I provide is: micronaut:
server:
cors:
enabled: true
host: 0.0.0.0
port: 8080
akhq:
connections:
dev:
properties:
bootstrap.servers: "20.86.65.24:9092, 20.86.65.62:9092, 20.86.65.203:9092" Besides host:0.0.0.0 I also tried running 'host' with the values host:localhost and host:public_ip_address_myvm. Port 8080 is opened for outbound and inbound connections in Azure. However, for each case I can' t open the GUI in my browser through http://publicipvm:8080 and when I inspect my podman container I get: "Failed to connect to localhost port 8080 after 0 ms: Connection refused" Has anyone ever faced such a problem? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
difficult to debug with the hand on the servers but some highlights:
|
Beta Was this translation helpful? Give feedback.
-
Thank you for your quick answer! I changed the application.yml file to: micronaut: akhq: (above linting is correct, but github copy doesnt add the linting) I killed all my containers and again run the command: podman run -d --name teddy_secondtry -p 8080:8080 -v /tmp/application.yml:/app/application.yml docker.io/tchiotludo/akhq:0.23.0 The output was: ad2b82233b3d50d3d08164218781d39fc60a4064e22a6b1c039615e786e30fde Then I checked the logs: [confluent@rhelmachine1 ~]$ podman logs ad2b82233b3d50d3d08164218781d39fc60a4064e22a6b1c039615e786e30fde | / () ___ _ __ ___ _ __ __ _ _ | | 2023-04-04 07:16:33,897 INFO main i.m.runtime.Micronaut Startup completed in 3520ms. Server Running: http://ad2b82233b3d:8080 However, when I try to access the url above through different browsers it doesnt work. Also when I try to access the application through another url such as: http://74.234.141.68:8080 it doesn't work, see image underneath: Also, I provide you with a picture of my test Azure environment so you can see that I opened the port 8080 for the rhelmachine1 (74.234.141.68) for inbound and outbound traffic. -- After all this, I run the command: podman inspect ad2b82233b3d50d3d08164218781d39fc60a4064e22a6b1c039615e786e30fde "Health": {
Is this more useful info for you? Already thanks for you answer, I really appreciate it. |
Beta Was this translation helpful? Give feedback.
-
Solved! Problem was a firewall within the RHEL machine that overrules the Azure firewall. |
Beta Was this translation helpful? Give feedback.
Solved! Problem was a firewall within the RHEL machine that overrules the Azure firewall.