When you try to open http://localhost:8080/dashboard/ it will show a connection error. Opening a shell in the running Pod and curl'ing the same URL will yield an HTML page result.
Expected behavior
The hostPort should be accessible and the page should render on :8080
Description
A pod with
HostNetwork
andhostPort
set will allocate a port on the host, but connectivity fails.Reproduce
When you try to open
http://localhost:8080/dashboard/
it will show a connection error. Opening a shell in the running Pod and curl'ing the same URL will yield an HTML page result.Expected behavior
The
hostPort
should be accessible and the page should render on :8080docker version
docker info
Diagnostics ID
3ACD9CE1-0725-47DF-9846-EEBEC1F425B0/20231006214852
Additional Info
No response