The forwarded port configuration expects two parameters, the port on the guest and the port on the host. Example:

Vagrant.configure("2") do |config| "forwarded_port", guest: 80, host: 8080

This will allow accessing port 80 on the guest via port 8080 on the host.

For most providers, forwarded ports by default bind to all interfaces. This means that other devices on your network can access the forwarded ports. If you want to restrict access, see the guest_ip and host_ip settings below.

결국에는 Virtue Box에서 돌아가는가지만, 개발을 위해 멀티 클러스터 환경(그래봤자 4노드)를 구현 했지만, SSH말고 다른 통신 포트를 포워딩 하기 위해 찾아보니, 매우 쉽게 포워딩 가능 

저작자 표시 비영리 변경 금지

+ Recent posts