You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 27, 2023. It is now read-only.
ich hätte eine kurze Frage zum Docker-Image:
docker run -d -p 4000:4000 --net="host" --env-file .env --name mailman phiilu/mailman
Beim verwenden des Parameters --net="host" wird der Port auf dem Host normalerweise auf die IP 0.0.0.0 gebindet und ist somit öffentlich erreichbar. Wieso ist das hier nicht der Fall?
Wenn ich den Befehl wie folgt anpasse, ändert sich an der Ausgabe von netstat nichts, jedoch ist Mailman nicht länger erreichbar:
docker run -d -p 127.0.0.1:4000:4000 --env-file .env --name mailman phiilu/mailman
Warum?
The text was updated successfully, but these errors were encountered:
Es wird 127.0.0.1 in netstat angezeigt, da wahrscheinlich in deiner .env Datei MAILMAN_HOST auf 127.0.0.1 gesetzt ist. Dass sorgt dafür, dass das Mailman auf localhost bindet. Du kannst diese Variable auf 0.0.0.0 setzen, wenn du auf alle Interfaces binden möchtest. Siehe #10
Hallo
ich hätte eine kurze Frage zum Docker-Image:
docker run -d -p 4000:4000 --net="host" --env-file .env --name mailman phiilu/mailman
Beim verwenden des Parameters --net="host" wird der Port auf dem Host normalerweise auf die IP 0.0.0.0 gebindet und ist somit öffentlich erreichbar. Wieso ist das hier nicht der Fall?
!/bin/bash# netstat -ant | grep 4000
tcp 0 0 127.0.0.1:4000 0.0.0.0:* LISTEN
Wenn ich den Befehl wie folgt anpasse, ändert sich an der Ausgabe von netstat nichts, jedoch ist Mailman nicht länger erreichbar:
docker run -d -p 127.0.0.1:4000:4000 --env-file .env --name mailman phiilu/mailman
Warum?
The text was updated successfully, but these errors were encountered: