Vagrant 流浪者1.8.1上的港口转运

Vagrant 流浪者1.8.1上的港口转运,vagrant,Vagrant,我在Windows7电脑上安装了一个流浪者。我的centos7流浪者箱上安装了jenkins、puppet和其他东西。当我做流浪装的时候 ==> default: Attempting graceful shutdown of VM... ==> default: Clearing any previously set forwarded ports... ==> default: Clearing any previously set network interfaces..

我在Windows7电脑上安装了一个流浪者。我的centos7流浪者箱上安装了jenkins、puppet和其他东西。当我做流浪装的时候

==> default: Attempting graceful shutdown of VM...
==> default: Clearing any previously set forwarded ports...
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
    default: Adapter 1: nat
==> default: Forwarding ports...
    default: 8082 (guest) => 8080 (host) (adapter 1)
    default: 22 (guest) => 2222 (host) (adapter 1)
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
    default: SSH address: 127.0.0.1:2222
    default: SSH username: vagrant
    default: SSH auth method: private key
    default: Warning: Remote connection disconnect. Retrying...
==> default: Machine booted and ready!
GuestAdditions 5.0.12 running --- OK.
==> default: Checking for guest additions in VM...
==> default: Mounting shared folders...
    default: /vagrant => C:/vagrant/projects/jenkins
    default: /vagrant_data => C:/Devops
==> default: Machine already provisioned. Run `vagrant provision` or use the `-
provision`
==> default: flag to force provisioning. Provisioners marked to run always will
still run.
现在当我做curl-v时

C:\>curl -v http://127.0.0.1:8082
* Rebuilt URL to: http://127.0.0.1:8082/
* timeout on name lookup is not supported
*   Trying 127.0.0.1...
* connect to 127.0.0.1 port 8082 failed: Connection refused
* Failed to connect to 127.0.0.1 port 8082: Connection refused
* Closing connection 0
curl: (7) Failed to connect to 127.0.0.1 port 8082: Connection refused
不用说,在浏览器中找不到任何东西。我错过了什么?顺便说一句,我的流浪者和虚拟盒子5在Windows7上运行

提前谢谢
R

您能否确认您在8080上运行了虚拟机上的某些东西,并且在centos上没有防火墙,如果您已确保允许从externalI在8080上进行连接,请jenkins在8080(在centos上)上进行监听。如何允许8080上的外部连接?我已经在cetnos上刷新了iptables。Thanksry正在运行
systemctl disable firewall d
@Frederic。非常感谢,我确实禁用了防火墙,但它不起作用。