I have a webserver running in a podman container. I run the container by:
>podman run -d --rm --name tomcat1 -p 7070:8080 -h tomcat.ontwikkel.local -e no_proxy=.ontwikkel.local,localhost,127.0.0.1 tomcat
It is okay when I give in the browser on the host:
http://localhost:7070
But when I use the host name instead of localhost, then I get an unreachable error message,
http://<host name>:7070
What should I do to fix this?