Getting a public url for IMAPSYNC

collectifweb
HOBBY

5 months ago

Hello there, I try installing Imapsync from this Github : https://github.com/imapsync/imapsync
Deployment is successful, but I can't manage to make the public URL work.

What did I miss?

URL is : imapsync-web-production.up.railway.app
Port : 8080 (I guess).

Thanks a lot

Awaiting User Response

9 Replies

unicodeveloper
PRO

5 months ago

Have you tried setting it to use the 8443 port?


Status changed to Awaiting User Response Railway 5 months ago


unicodeveloper

Have you tried setting it to use the 8443 port?

collectifweb
HOBBY

5 months ago

Hey there, yes I did


Status changed to Awaiting Railway Response Railway 5 months ago


unicodeveloper
PRO

5 months ago

I just checked your repo and i discovered that imapsync itself doesn't run as a web service by default. You created a simple express web server wrapper around imapsync.

In the nodejs express server, you are telling it to run on PORT 3000 or a custom port, process.env.PORT.

So can you go ahead and change your service settings to run on port 3000?


Status changed to Awaiting User Response Railway 5 months ago


unicodeveloper

I just checked your repo and i discovered that imapsync itself doesn't run as a web service by default. You created a simple express web server wrapper around imapsync.In the nodejs express server, you are telling it to run on PORT 3000 or a custom port, process.env.PORT.So can you go ahead and change your service settings to run on port 3000?

collectifweb
HOBBY

5 months ago

Hey there, thanks a lot for being here and helping me.

I'm new to Railway and have to admit that I may be quite a newbie into this.

Let me show you how my app is made (screenshot 1). I think you're saying that this docker should be wrapper by something else?
And you were talking about the PORT to change, is that the Public networking port? (screenshot 2).

Thanks a lot.


Status changed to Awaiting Railway Response Railway 5 months ago


unicodeveloper
PRO

5 months ago

Yes the public networking port. That's correct.


Status changed to Awaiting User Response Railway 5 months ago


collectifweb
HOBBY

5 months ago

I see. So I changed to 3000 port, still 502 error. :(


Status changed to Awaiting Railway Response Railway 5 months ago


unicodeveloper
PRO

5 months ago

Hmmn, I don't have a solution to this. However, if i figure out something I will let you know.


Status changed to Awaiting User Response Railway 5 months ago


unicodeveloper

Hmmn, I don't have a solution to this. However, if i figure out something I will let you know.

collectifweb
HOBBY

5 months ago

Thanks a lot :)


Status changed to Awaiting Railway Response Railway 5 months ago


unicodeveloper
PRO

5 months ago

Sure, no problem.


Status changed to Awaiting User Response Railway 5 months ago


Getting a public url for IMAPSYNC - Railway Help Station