SRV record (for a Minecraft server) is not working

I was experimenting with a Minecraft server, so I decided to use my own domain. However, when I try to connect, I cannot. My server is running on (port forwarded), and this is my SRV record:
Name -
Value - SRV 0 0 25596
Thanks in advance.

Did this end up working? It looks like you have the correct configuration for the SRV

The target of an SRV record has to be a hostname, not an IP address.

I really don’t know why it took me this long to figure it out but here’s how it works with the new Cloudlfare web UI:

Type: SRV
Name: <subdomain>
Service: _minecraft
Protocol: TCP
TTL: Auto
Priority: 0
Weight: 0
Port: <server_port>
Target: <A_record_name>

I then can connect via subdomain.A_record_name, for example without having to specify the port.