Vagrant port forwarding not working. Cups not accesible from host

我的梦境 提交于 2019-12-01 22:39:01

I think what you will find is that the default cups config file is locked down to only work from localhost for security reasons.

Inside your Vagrant VM open the /etc/cups/cupsd.conf file and change the following line:

Listen localhost:631

to

Listen 0.0.0.0:631

That should allow you to connect from any host.

Have you tried accessing port 8080 of guest to your host? if no, and the services inside guest are running. then its a firewall issue in guest.

Try to turn firewall temporarily

service iptables off

then try to access it again from host.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!