scotch-io / scotch-box-pro

Scotch Box Pro is a preconfigured Vagrant Box with a full array of LAMP Stack features to get you up and running with Vagrant in no time.
MIT License
77 stars 27 forks source link

Multiple active instances at the same time #11

Open steveooo9 opened 6 years ago

steveooo9 commented 6 years ago

Scotch Box Pro uses 127.0.0.1 for MySQL Host and SSH Host, so when starting 2 projects using Scotch Box Pro, I am unable to go to the both databases because of some conflict (same IP).

How can this be solved? Also: Are there are conflicts using two active projects at the same time?

praveenscience commented 6 years ago

Aren't you using VirtualHost? You can use one Scotch Box instance and host many websites using VirtualHost.

Also, this way, you don't need to run two instances of a VM on your host machine and make it drag for memory! You might run into memory issues if your RAM / CPU is not that powerful.

@whatnickcodes Hope I am right...

mitchiru commented 6 years ago

You can normally also change the IP in Vagrantfile from 33.10 to 33.11 for instance