Cannot map ports 25 and 443

Hi,
I have just setup axigen using the Axigen Docker Image command onto my Casaos computer (Debian based) It works fine except for the fact that the container would not install with ports 25 and 443 mapped to the host. I wondered if another container was using those ports, but no … If I use an arbitrary mapping of 4443:443 and 2525:25 I can at lease get into the admin webpage and confirm everything is as expected … and it is, but obviously won’t work with those external ports. What ports do I need to open on my router?

Anyone have a clue why this would happen?

PS: Also I have a web server on port 80, so I mapped 8888:80 for that port, however I cannot see any webpage at 8888

Hello,

Those ports (25 and 443) may be in use by the host itself. So please check all ports that are on LISTEN mode on the hosts (for exemple you may have a local sendmail/postfix blocking port 25 and an apache/nginx for 443).

HTH,
Ioan

Hi Thanks.
I have setup my container with a macvlan, so my container has a seperate ip is 192.168.178.193, I can use port 9000 at that address ok, just not port 80 or 443 My host does use port 80 for it’s web page but it should not interfere right?

How do I check if sendmail is running on my host?

Hello,

Please post the exact docker command you have used to start the Axigen container.

Most probably you will have to avoid binding on 0.0.0.0 (which means all available IPv4 addresses present on the host) but only on the dedicated IP address you set for your container.

HTH,
Ioan

Hello @bmentink

Can you provide the output of:

docker inspect AXIGEN_CONTAINER

command.

Regards,
Florin