unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* Can't bind to port 80 from inside a Guix container
@ 2021-04-21 15:11 edk
  2021-04-28 19:12 ` Edouard Klein
  0 siblings, 1 reply; 2+ messages in thread
From: edk @ 2021-04-21 15:11 UTC (permalink / raw)
  To: help-guix

Dear fellow Guixers,

I'm trying to run nginx with `guix system container --network toto.scm`,
and I get the following error:

nginx: [emerg] bind() to 0.0.0.0:80 failed (13: Permission denied)

despite the container script being launched with sudo.

I got a root shell inside the container, checked that the corresponding
process also belongs to root from outside the container, and still don't
have the right to bind to port 80, with any software (this is not an
nginx error).

netcat lets me launch `nc -l 80` but I can't reach it, I don't think it
is actually binding.

Is this a known problem or limitation of guix containers ?

What do you suggest to try to troubleshoot this issue ?

Cheers,

Edouard.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-04-28 19:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-21 15:11 Can't bind to port 80 from inside a Guix container edk
2021-04-28 19:12 ` Edouard Klein

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).