Created
January 3, 2012 20:37
-
-
Save mitchellh/1556811 to your computer and use it in GitHub Desktop.
Vagrant 0.9 Forwarded Ports
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Forwarded port configurations were changed so that they no longer | |
# require a unique name: | |
# Before | |
config.vm.forward_port "http", 80, 8080 | |
# After | |
config.vm.forward_port 80, 8080 | |
# After (if you still want to name it you can, optionally) | |
config.vm.forward_port 80, 8080, :name => "http" | |
# Note you can still override the HTTP setting by using the same name. | |
# After below, the above "8080" would be changed to 9000. | |
config.vm.forward_port 80, 9000, :name => "http" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment