Using mailcatcher in cloud9 ide

2019-09-17 13:19发布

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?

2条回答
小情绪 Triste *
2楼-- · 2019-09-17 14:12
  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

查看更多
时光不老,我们不散
3楼-- · 2019-09-17 14:18

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

查看更多
登录 后发表回答