A Minecraft server address tells your game where to connect. It has two parts: the host and the port.
The host can be a number (an IP address like 203.0.113.10) or a name (a domain like play.example.net). Servers use domains because they are easy to remember and the owner can move to another machine without telling every player a new address.
The port is a number that says which program on that machine you want. Java servers use 25565 by default and Bedrock servers 19132. When a server uses the default, you don't need to type the port. Otherwise add it with a colon on Java (play.example.net:25570) or put it in the Port field on Bedrock.
Owners can add a DNS record named _minecraft._tcp.play.example.net that points to the real host and port. Java Edition reads it automatically, so players can type just play.example.net even if the server runs on another port. Bedrock doesn't use SRV records. Our status checker shows the SRV record when a server has one.
Keep your home IP private where you can: it reveals your rough location. A domain or a host keeps it hidden.