You can clone with
I have installed the Mailcatcher gem (http://mailcatcher.me/) on my VM managed by Vagrant. And in the Vagrantfile I have set up the forwarding port:
config.vm.forward_port 1080, 1080
I ssh to the guest, run the Mailcatcher on the guest, but when I go to: 127.0.0.1:1080 on my host, I don't see the Mailcather interface. All I get is:
No data received.Unable to load the webpage because the server sent no data ...
Thanks in advance!
Yes, I get the markup of the dashboard when I run curl. Can I use something like that to confirm my local test emails? Just curious :)
About port forwarding: I run my rails app with port forwarding (for example: 3000, 8080) so the forwarding works there. It is kind of strange that Vagrant can't forward mailcatcher on 1080. Maybe I am doing something wrong. I read another article about setting up mailcatcher on a VM, and that article suggested another port, I tried it and still no success :(
All I need to do is to use Mailcatcher to confirm emails in my rails app in development mode.
I would appreciate any help :)
You could try running mailcatcher using:
$ mailcatcher --ip=0.0.0.0
This means you can access mailcatcher on your VM host using your VM's ip and port 1080, no vagrant forwarding required.
Awesome !!!! Thanks very much! I killed the process, and then I did what you said: (mailcatcher --ip=0.0.0.0) and I accessed it on the host on http://localhost:1080