Added forwarding Mysql port 3306 from VM to host machine.
parent
45dfa54fef
commit
05ceed1ca0
|
@ -22,6 +22,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
|
||||||
# within the machine from a port on the host machine. In the example below,
|
# within the machine from a port on the host machine. In the example below,
|
||||||
# accessing "localhost:8080" will access port 80 on the guest machine.
|
# accessing "localhost:8080" will access port 80 on the guest machine.
|
||||||
config.vm.network :forwarded_port, guest: 80, host: 5001
|
config.vm.network :forwarded_port, guest: 80, host: 5001
|
||||||
|
config.vm.network :forwarded_port, guest: 3306, host: 3306
|
||||||
|
|
||||||
# Create a private network, which allows host-only access to the machine
|
# Create a private network, which allows host-only access to the machine
|
||||||
# using a specific IP.
|
# using a specific IP.
|
||||||
|
|
Loading…
Reference in New Issue