Getting a public url for IMAPSYNC
collectifweb
HOBBYOP

a year 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

Solved

9 Replies

unicodeveloper
PRO

a year ago

Have you tried setting it to use the 8443 port?


Status changed to Awaiting User Response Railway 12 months ago


unicodeveloper

Have you tried setting it to use the 8443 port?

collectifweb
HOBBYOP

a year ago

Hey there, yes I did smiling_face_with_tear emoji


Status changed to Awaiting Railway Response Railway 12 months ago


unicodeveloper
PRO

a year 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 12 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
HOBBYOP

a year 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 12 months ago


unicodeveloper
PRO

a year ago

Yes the public networking port. That's correct.


Status changed to Awaiting User Response Railway 12 months ago


collectifweb
HOBBYOP

a year ago

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


Status changed to Awaiting Railway Response Railway 12 months ago


unicodeveloper
PRO

a year 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 12 months ago


unicodeveloper

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

collectifweb
HOBBYOP

a year ago

Thanks a lot :)


Status changed to Awaiting Railway Response Railway 12 months ago


unicodeveloper
PRO

a year ago

Sure, no problem.


Status changed to Awaiting User Response Railway 12 months ago


Railway
BOT

6 months ago

This thread has been marked as solved automatically due to a lack of recent activity. Please re-open this thread or create a new one if you require further assistance. Thank you!

Status changed to Solved Railway 6 months ago


Loading...