Minecraft server requires domain followed by port on specific networks

Hello!

I’m currently setting up a Minecraft server that uses Cloudflare. I’ve used this Cloudflare Community Tutorial to setup. I actually have two servers running on the same computer just at different ports one is at 25565 and other is 25566, from my knowledge it should work fine. My current domain is smpcake.eu

It works but I have some pitfalls. I use my home router to connect to my server but sometimes it’s very slow so I switch to my iphones network using a usb cable. For some reason I cannot connect to my server now and I have to manually type play.smpcake.eu:25566 otherwise I will be connected to the server at port 25565.

For more reference this is what it currently is setup as:


Thanks in advance!

What else are you expecting?

Looking at your records, you should also be able to connect to your server using smpcake.eu (without port), as you have created an SRV record for that name.

If you want to use the play subdomain, you’d need to create an SRV record for that as well.

1 Like

Had to delete that post, I uploaded wrong picture.
Ok, I’m confused isn’t the SRV already for the subdomain play as it’s already setup like this

And yes I can connect to the minecraft server at port 25565 with smpcake.eu but I would like to add the subdomain play as well as have it connect to the server at 25566 which right now it doesn’t on my phones network, this works fine on my home router. Sorry in advanced I’m new to this.

Ok, my bad. That record is indeed correct, i was just confused because the play-part of the name wasn’t visible in the previous screenshot.

However, it seems you are in the wrong Cloudflare account.

dig play.smpcake.eu

; <<>> DiG 9.18.12-0ubuntu0.22.04.2-Ubuntu <<>> play.smpcake.eu
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 20765
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 65494
;; QUESTION SECTION:
;play.smpcake.eu.               IN      A

;; AUTHORITY SECTION:
smpcake.eu.             1676    IN      SOA     ara.ns.cloudflare.com. dns.cloudflare.com. 2314139888 10000 2400 604800 1800

;; Query time: 0 msec
;; SERVER: 127.0.0.53#53(127.0.0.53) (UDP)
;; WHEN: Thu Jul 06 16:58:53 CEST 2023
;; MSG SIZE  rcvd: 105

Your screenshot is showing an A record for the play subdomain, but I cannot find it. What Cloudflare nameservers are assigned to you in yourDashboard?

1 Like

Yes sorry, so I change the play subdomain to mc and in the mean while I restarted both minecraft servers and the server computer and my computer and iphone aswell. Somewhere in this it started to work so I don’t know what to think of this but I guess it works now.

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.