I'm working with vagrant and I'm trying to use it as a printing server. I installed cups.

Internally everything works just fine. I can even make a quick curl to my localhost:631 (cups port inside my vagrant) and there's everything.

The thing is I can't access it in any way I try from the host machine.

Obviously I forwarded the port and I've tried with several ports. I've also tried with Debian squeeze and Ubuntu 12.04. Here is my current Vagrantfile

Vagrant.configure("2") do |config|                                              
  config.vm.box = "guruDebian"
  config.vm.network :forwarded_port, guest: 80, host: 8080
  config.vm.network :forwarded_port, guest: 631, host: 6363   ## HERE IS CUPS           

Any ideas? ... I'll upload any file if necessary.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.