소스 검색

Add vagrant tip

Hamilton Turner 11 년 전
부모
커밋
3de51b00a0
1개의 변경된 파일6개의 추가작업 그리고 0개의 파일을 삭제
  1. 6 0
      deployment/vagrant-virtualbox/README.md

+ 6 - 0
deployment/vagrant-virtualbox/README.md

@@ -30,3 +30,9 @@ initial state each time to avoid interference.
 automatically build and inject the correct version of Oracle's Guest 
 Additions for the VM you are running. It's helpful for avoiding annoying 
 errors like "host additions are 4.3.10 but guest is 4.3.18"
+
+**Use SSH Port Forwarding To Access Web Servers Inside Vagrant**
+
+Use `vagrant ssh -- -L 9001:127.0.0.1:9001` to make `localhost:9001` 
+on your host OS connect you to `127.0.0.1:9001` inside the Vagrant 
+VM