This PR is being reverted because the ports are not being mapped to the host machine. This is because the container's network stack is isolated from the host machine. So accessing container's localhost from the host is not possible.
We can keep the network stack of container isolated and allow all access on 0.0.0.0 and then we could map to only 127.0.0.1 when mapping the port
Reverts middlewarehq/middleware#376
This PR is being reverted because the ports are not being mapped to the host machine. This is because the container's network stack is isolated from the host machine. So accessing container's localhost from the host is not possible.
We can keep the network stack of container isolated and allow all access on
0.0.0.0
and then we could map to only127.0.0.1
when mapping the port