cancel
Showing results for 
Search instead for 
Did you mean: 

Developping in DevBox - port-change everytime a container starts

Developping in DevBox - port-change everytime a container starts

Hi everyone,

 

I have a problem with developping in the DevBox. After installing everything runs like it  should. I got the url to the shop and the admin wich is someting like: http://127.0.0.1:32769/ and http://127.0.0.1:32769/admin/.

 

When i stopped the container and started it again, the port changed. When visiting the new URL, only the HTML can be loaded, the system tries to load the rest of the files from the old port(32769).

 

Can anybody help me with this? Thanks in advance!

2 REPLIES 2

Re: Developping in DevBox - port-change everytime a container starts

Hello, I have the same issue.  can anyone help? thanks.

Re: Developping in DevBox - port-change everytime a container starts

There is a page in the DevDocs on how to set static ports for devbox: http://devdocs.magento.com/guides/v2.1/install-gde/docker/docker-ref.html#devbox-static-port