#Hosting RMT Server but can't connect

132 messages · Page 1 of 1 (latest)

tough sundial
#

I hosted an RMT server using https://github.com/thexivn/RMT-Docker-server and ports 2350-2359 are forwarded in TCP and UDP. The server starts and shares a uplay link, which just launches the game and doesn't actually join. I set up a club room with the server profile I used to start the server, and it just reads 'This server is player hosted, it may be offline' or something similar. Is there anything else I can do to troubleshoot it?

Help is super appreciated.

GitHub

docker compose with TM2020 server, Pyplanet and RMT - GitHub - thexivn/RMT-Docker-server: docker compose with TM2020 server, Pyplanet and RMT

candid moon
tough sundial
#

yes

#

should I put it on ec2?

#

I have the port up to 2351 because I'm running the game on the same pc

tough sundial
candid moon
#

that might be necessary

tough sundial
#

hm

#

how can I do that

candid moon
#

as env in the docker-compose.yml for the trackmania service, add FORCE_IP_ADDRESS: "YOUR_EXTERNAL_IPV4:PORT"

tough sundial
#

thank you I'll try that

#

interesting that using docker's port forwarding that already exposes on my ip isn't enough

candid moon
#

its more something to do with running inside WSL

tough sundial
#

seeing as I've never been able to connect to my own server, what's the recommended way to do it?

#

copy the uplay link and put that in settings>join link?

#

or is there a better way

candid moon
#

local network should also work

#

also, I wouldn't use EC2 for server hosting 😉

#

you can get much cheaper VPSs that do the job just as well

tough sundial
#

if I want to keep it for longer, I'll try that then

tough sundial
tough sundial
#

club and room name are same as my discord name

candid moon
#

i think your port forwarding might not work properly

#

also, are you sure you have a proper ipv4 and not some carrier grade NAT?

tough sundial
#

hm, I port forward for other hosting often, are there other ports I need to open?

#

NAT is open, and my ip is static

candid moon
#

and it's a static ipv4?

tough sundial
#

yeah

candid moon
tough sundial
#

is there a tutorial I can check the steps of? I wanted to do RMT so I found this github and just went through the process that was fairly automated

candid moon
#

thinking

#

there ain't really a tutorial, because either it works or it doesn't ^^

tough sundial
#

figures

candid moon
#

here lemme test something

tough sundial
#

found a random open port tester online it says port is open for tcp and udp if that's anything meaningful

candid moon
#

yea lemme check smth

#

can you try and look for the room just called "chris92" and see if you can join that?

tough sundial
#

sure 1 sec

#

no issues there

candid moon
#

yea so I have this setup in docker desktop

#

with the FORCE_IP_ADDRESS env set

#

and the ports 2351 forwarded for TCP and UDP

tough sundial
#

hm

candid moon
#

maybe check that you're forwarding it to the proper device in your router

#

and I can also join my own server thru the club its in

#

so that should work when everything's properly forwarded

tough sundial
#

yeah I figured hang on doing the port forward sanity check

candid moon
#

I also have a firewall rule in my windows firewall (inbound rules) to allow ports 2351 tcp and udp

tough sundial
#

oh wait

#

that could be it

candid moon
#

(two separate rules)

#

not sure if those are needed

#

nah i disabled the rule and it still works

tough sundial
#

worth a shot

candid moon
#

it's probably port forwarding on your end

tough sundial
#

But why would I have no issues with other port forwarded apps, and why does it appear open online?

candid moon
#

idk tbh

#

sanity check, can u join the server via play -> local -> local network?

tough sundial
#

no

candid moon
#

it doesnt even let you join thru that?

tough sundial
#

which makes me think not port forward

tough sundial
candid moon
#

yea then something's wrong

tough sundial
#

anything look out of the ordinary here?

candid moon
#

can't see anything out of the ordinary

#

so, next sanity check, docker is running inside wsl2?

tough sundial
#

it always starts and immediately ends the event which I thought could be because the server is empty

candid moon
#

oh no that's normal

tough sundial
#

is there a quick way to check?

candid moon
#

there's a MapBegin_Start and a MapBegin_End event

#

they're separate

tough sundial
#

oh

candid moon
#

well, you're on windows 10/11 I assume?

tough sundial
#

11 yes

candid moon
#

so you should be on WSL2 by default

tough sundial
#

yeah wsl 2

candid moon
#

ye ye

#

just weird that you can't even join it

tough sundial
#

which tells me it's not a networking thing

candid moon
tough sundial
#

yes

#

ofc I changed the # change it stuff

candid moon
#

ok yea lemme try that one

#

i have a feeling i know why it's failing

tough sundial
#

that's better than nothing

candid moon
#

umm

#

what's your ports configuration for the trackmania service

#

can u show that really quick?

#
    image: evotm/trackmania:latest
    ports:
      - 2350:2350/udp
      - 2350:2350/tcp```
#

these 5 lines

tough sundial
candid moon
#

HAH

#

ok

#

yea

#

i know why

tough sundial
#

oh boy

#

OH

candid moon
#

change it to this:

  trackmania:
    image: evotm/trackmania:latest
    ports:
      - 2351:2350/udp
      - 2351:2350/tcp```
tough sundial
#

YEAH

candid moon
#

external port : internal port

tough sundial
#

I realized as I was looking at it

candid moon
#

internal in this case in the docker container

tough sundial
#

gosh I'm so stupid

candid moon
#

all good 😄

#

happens to the best of us

tough sundial
#

I use docker containers for a job PepeHands

candid moon
#

same 😄

#

that's why you also need the force_ip_address thing btw

tough sundial
#

makes sense

candid moon
#

because by default it'll report as port 2350

#

because in the container it's just using port 2350

tough sundial
#

it clicked when you asked to show the port config

#

and I thought you meant in docker desktop

#

and I saw:

candid moon
#

haha yup

#

because, even if everything else fails, you should be able to join from local network

tough sundial
#

I can join

#

holy moly

#

thank you so much for your help

#

you're the best

candid moon
#

and so can I

tough sundial
#

how can I mark this as resolved? I don't use discord forums ever

candid moon
#

go back to community support, then rightclick your thread and edit it

#

and there u should be able to assign a tag

tough sundial
#

gotcha

#

thanks again