Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

andrewmung's avatar

localhost not working even though Docker shown running

Hi All,

I am an new user of Laravel 8 and recently applied Docker for installation

Docker-desktop shown example-apps of Laravel are running normally

But open in browser of containers / apps of Docker triggered webpages of localhost for each application as belows:

  1. localhost: 6397 for redis shown : This page isn’t working

2.localhost: 3306 for mysql shown: This page isn’t working

3.localhost:1025 for mailhog shown: This page isn't working

  1. localhost:7700 for meilisearch shown: welcome to MeiliSearch (i.e. I think that it is normal)

5.localhost:80 shown: Webpage of Laravel (i.e. I think that it is normal)

Also I have run sail test and shown Tests : 2 passed

Would you be kind enough to advise what I can do for the above problem ?

Thank you for your kind attention

Andrew

0 likes
2 replies
idew's avatar

What you describe here is normal. Redis and MySQL aren't serving data with HTTP and does not display anything in the browser. For MailHog, localhost:8025 should show you the MailHog dashboard.

1 like
andrewmung's avatar

@idew Hi idew, Thank you for your explanation. It made me more understanding

1 like

Please or to participate in this conversation.