Coder Social home page Coder Social logo

Comments (5)

pnlem avatar pnlem commented on May 29, 2024 1

Ok thank you for your feedback. I tried with the docker.local:81 and it's the same problem. I will try with virtual box and start a new config again. Docker on Mac is very very slow... :)
I will let you know.

Pierre-Nicolas

from sugardockerized.

esimonetti avatar esimonetti commented on May 29, 2024

Hi Pierre-Nicolas,

It most likely has to do with the network/url rewriting configuration.
What url do you use to access the docker setup?
What host file entries do you have?
Do you use a VM or a local instance?
Does your VM have the right host file entries to match your request routing?

Once the url matches the host files entries and those entries are known by every party involved, it should all work fine.

Hope it helps

from sugardockerized.

pnlem avatar pnlem commented on May 29, 2024

Hi Enrico,
Thank you for your answer. I'm using Docker on Mac without virtual machine. I changed the apache and mysql port because I already have one apache/mysql on ports 80 and 3306. So I'm accessing to apache by http://localhost:81/sugar and mysql on 3307. I added all sugar files to the sugar folder.

In my host file I have the following :
127.0.0.1 localhost
127.0.0.1 docker.local

One more question, I'm using your SugarDockerized tools since a while and before I was able to access to the sugar database with Sequel or MySQLWorkbench. I tried yesterday and it's not working after an update of the git project. Is it something related to my local hosts ?

capture d ecran 2018-11-06 a 10 15 57

Regards,

Pierre-Nicolas

from sugardockerized.

esimonetti avatar esimonetti commented on May 29, 2024

How about http://docker.local:81/sugar ?
If that does not work, I would try to move the other services' to alternative ports

I do not see why it would not work to connect to the db. Can you do it via command line? Use 127.0.0.1 to connect. I found problems with localhost and docker on mysql for some reason.

from sugardockerized.

esimonetti avatar esimonetti commented on May 29, 2024

As I have not heard from you in a while with an update, I assume it worked with the VirtualBox image.
I will proceed on closing the issue.

from sugardockerized.

Related Issues (18)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.