AKHQ listenning address when run with systemd #1349
-
Hi, I installed AKHQ standalone. If I run it manually it listens on http://my_server_hostname:8080, but when I run it with systemd, then it listens on http://localhost:8080. Why does it differ? My AKHQ systemd unit file looks like this:
/home/kafka/akhq.jar is a symlink to /home/kafka/akhq-0.23.0-all.jar My Java is OpenJDK 19. My AKHQ configuration file is the following (user/password and other sensitive information replaced with xxxxx):
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
You can change default port & hostname with this configuration: micronaut:
server:
host: my_server_hostname
port: 8080 |
Beta Was this translation helpful? Give feedback.
-
Hi, Thx, it works. I still don’t understand why I had not the same behavior with or without running the app with systemd but nevermind. |
Beta Was this translation helpful? Give feedback.
You can change default port & hostname with this configuration: