Project symfony on port 8000 works well on port 80 no (Sylius)

-1

I am using the platform Sylius installs and works correctly. What happens is that it works with the symfony server itself on port 8000 with these lines:

php bin/console server:start
open http://127.0.0.1:8000

Then when I want to work with port 80 using only the local server path I have.

http://localhost/ven/web

Nothing works sometimes goes blank sometimes shows some error and sometimes simply shows the page distorted.

What solution can I give to this problem?

    
asked by juanitourquiza 22.06.2017 в 21:25
source

1 answer

0

The server: start command opens port 8080 by default, use the command in this way to enable port 80 (or the one that interests you

php bin/console server:start localhost:80

Please note that this embedded server is not suitable for production .

    
answered by 23.06.2017 / 08:46
source