我自发地遇到了启动我的流浪机器的问题。当试图运行无业游民了,我得到以下错误:流浪者未使用的港口碰撞 - 无法运行流浪
Vagrant cannot forward the specified ports on this VM, since they
would collide with some other application that is already listening
on these ports. The forwarded port to 80 is already in use
on the host machine.
To fix this, modify your current project's Vagrantfile to use another
port. Example, where '1234' would be replaced by a unique host port:
config.vm.network :forwarded_port, guest: 80, host: 1234
在我vagrantfile我已经改变了这些端口随机未使用的但仍然出现错误。
运行时lsof -i tcp:80
没有服务返回,同样适用于我尝试过的其他端口。
以前有没有其他人有过这个问题?我开始认为它不是端口相关的,我也尝试重新启动我的机器。
我遇到了和西蒙一样的问题。 '1234'是错误消息中的一个随机示例,它是关于如何更改主机端口的建议。这不是当前的主机端口。您可以在消息的前面看到主机端口,它说:“主机上转发的端口80已在使用 ”。 – Qaz