Find server ip/domain and port
I have a project consisting of a Discord bot and I'm trying to make a webhook for voting rewards. The website I am doing these vote rewards requires me to enter a domain/server IP along with the port (in order to make a webhook URL). I've spent the last 30 minutes trying to find these things, but I just can't find them. So my question is, how can I find out what the ip/domain server along with the port?
11 Replies
Project ID:
N/A
your
host
needs to be 0.0.0.0
and your port
needs to be the PORT
service variable
you can ready more here: https://docs.railway.app/deploy/exposing-your-app
dammitnot quite
it might still be applicable, just not right this instant
the deployments use dynamic ips, you don't want to use an ip.
instead use a domain, you can get a domain for your app by going into its settings and clicking generate
ok, got that, but then the port?
not needed
you can currently only access http based services over https and port 443, but you will use the https scheme, therefore the port 443 is implied
ok, thx for this
you should try visiting the domain you got in a web browser to see if your app is listening properly before you try it with a webhook service
Thank you, now it works perfectly with port 443 and a generated domain, I didn't know about all of these before
no problem!