brzuck
FREEOP
a year ago
Hi, I'm new into deploying and new into Railway so forgive me any noob mistake.
Project ID: de7b2efb-6483-4774-bb9d-a7b76f212780
I'm trying to deploy a game login server.
I already created the database it needs to connect to, and managed to properly add the variables on the login server (I'm also able to connect from my PC).
MySQL 8.0.42
>> Running database manager
WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version.
>> Loaded all modules, server starting up...```
I'm using a Dockerfile to build and I have created this simple `.toml` file:
```[build]
builder = "dockerfile"
dockerfilePath = "./Dockerfile"
[deploy]
startCommand = "./entrypoint.sh"
restartPolicyType = "always"```
On the login server project I'm setting the IP as 0.0.0.0 and port 7171.
On Railway I created a TCP Proxy to port 7171: `.proxy.rlwy.net:35869 -> :7171`
I updated my game client to connect to `.proxy.rlwy.net` on port `35869`, but it won't connect.
I believe I'm making a mess with those IPs but I'm not sure where is the mistake.
If anyone has any idea what else I can try I appreciate.1 Replies
burlingtonbertie99
FREE
a year ago
"I'm setting the IP as 0.0.0.0" - this looks wrong; 0.0.0.0 is usually used to inform a service to listen on any port- never to specify an IP address. As its docker- try not even specifying the IP address- one will be auto-allocated; you can then update it as necessary once you have proved this "works"