Quick Tips

Access back-end with non-standard TLS port

Last Updated on 2020-11-08 by aeno

When you’re running Magento 2 inside a Docker container (for example for local development) and you’re using a non-standard TLS port (or SSL port) like 44333, then your back-end adminhtml route will trigger a 404 error.

Custom Magento 2 TLS port
Using a custom TLS port with Magento 2

The Solution: Even if it seems to be redundant, set a custom admin URL.

Set admin/url/use_custom to 1 and admin/url/custom to your back-end’s full URL including non-standard port:

Leave a Reply

Your email address will not be published. Required fields are marked *