Skip to content

Commit f15534d

Browse files
author
rudolfix
committed
vagrantfile - open ports for mysql and jupyter
1 parent 28c01ad commit f15534d

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

Vagrantfile

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,11 @@ Vagrant.configure(2) do |config|
2222
# Create a forwarded port mapping which allows access to a specific port
2323
# within the machine from a port on the host machine. In the example below,
2424
# accessing "localhost:8080" will access port 80 on the guest machine.
25-
config.vm.network "forwarded_port", guest: 5000, host: 5000
26-
config.vm.network "forwarded_port", guest: 5001, host: 5001
27-
config.vm.network "forwarded_port", guest: 3306, host: 3306
25+
config.vm.network "forwarded_port", guest: 5000, host: 5000 # flask
26+
config.vm.network "forwarded_port", guest: 5001, host: 5001 # flask
27+
config.vm.network "forwarded_port", guest: 3306, host: 3306 # mysql
28+
config.vm.network "forwarded_port", guest: 5002, host: 5002 # jupyter
29+
config.vm.network "forwarded_port", guest: 5003, host: 5003 # reserved
2830

2931
# Create a private network, which allows host-only access to the machine
3032
# using a specific IP.

0 commit comments

Comments
 (0)