Using mailcatcher in cloud9 ide

放肆的年华 提交于 2019-12-12 06:07:30

问题


I'd like to use mailcatcher to preview emails without sending them in my Cloud9 environment. I've started up the mailcatcher daemon but can't access the server.

I'm guessing it's simply that port 1080 is not accessible in my environment. Does anyone know how I might get this set up?


回答1:


  1. To start mailcatcher and access it on Cloud9

mailcatcher --http-port $PORT --http-ip $IP and you can access it from https://project_name-username.c9.io/

  1. If you want to kill the same process, list it using and kill -9 it :)

netstat -tulpn | grep :1025




回答2:


If you run mailcatcher on port 8080 you should able to access it externally by going to http://projectname-username.c9.io



来源:https://stackoverflow.com/questions/27865170/using-mailcatcher-in-cloud9-ide

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