From 05ceed1ca01c7751e92f82f4f38f93f9209419f3 Mon Sep 17 00:00:00 2001 From: Ruslan Baidan Date: Fri, 23 Aug 2019 08:16:04 +0200 Subject: [PATCH] Added forwarding Mysql port 3306 from VM to host machine. --- vagrant/Vagrantfile | 1 + 1 file changed, 1 insertion(+) diff --git a/vagrant/Vagrantfile b/vagrant/Vagrantfile index 5bac620..aeddcc4 100644 --- a/vagrant/Vagrantfile +++ b/vagrant/Vagrantfile @@ -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, # 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: 3306, host: 3306 # Create a private network, which allows host-only access to the machine # using a specific IP.