Skip to content

Commit

Permalink
fix(vagrant): forward more ports used in docker katas
Browse files Browse the repository at this point in the history
  • Loading branch information
xhalo32 committed Sep 6, 2023
1 parent 1302078 commit c39c3f0
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,13 @@ Vagrant.configure("2") do |config|
# config.vm.box_check_update = false

# Create a forwarded port mapping which allows access to a specific port
# 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.
# NOTE: This will enable public access to the opened port
config.vm.network "forwarded_port", guest: 9000, host: 9000
config.vm.network "forwarded_port", guest: 8080, host: 8080
config.vm.network "forwarded_port", guest: 3001, host: 3001
# Forward all ports that are used in training material
for i in 8000..9000
config.vm.network "forwarded_port", guest: i, host: i
end
config.vm.network "forwarded_port", guest: 3000, host: 3000
config.vm.network "forwarded_port", guest: 8086, host: 8086
config.vm.network "forwarded_port", guest: 3001, host: 3001

# Create a forwarded port mapping which allows access to a specific port
# within the machine from a port on the host machine and only allow access
Expand Down

0 comments on commit c39c3f0

Please sign in to comment.