How to access Vagrant Box in public network

前端 未结 5 1254
挽巷
挽巷 2021-01-30 17:02

I had created on e box inside vagrant. In the Vagrantfile, I had given the network as

     Create a private network, which allows host-only access to the machine
         


        
5条回答
  •  [愿得一人]
    2021-01-30 17:47

    1. Single VM environment

      you can use command: vagrant ssh

    2. Multi VM environment

      you can use command: vagrant ssh {hostname}

提交回复
热议问题