Why consoles are different
Console versions of Minecraft hide the option to add a server by address. It is a platform decision, not a technical limit, so the workarounds trick the console into reaching your server through features it does have.
Workaround 1: DNS server list
Projects such as BedrockConnect provide a DNS server that, when set on the console, replaces one of the featured servers with a menu where you can type any server address. The player changes the DNS setting in the console's network settings, opens a featured server, and gets a server list instead. Use well-known, reputable public instances, and switch the DNS back if other online services behave strangely.
Workaround 2: join through a friend
Some servers run a broadcasting tool that makes the server appear as an Xbox friend playing a joinable world. Console players add that account as a friend and join it from the Friends tab, the same way they would join a friend's game. Server owners set this up once and players need no network changes.
For server owners
If console players are part of your audience, document the steps for each console in your Discord, and say which workaround you support. Geyser servers work with both methods, so a Java server with Geyser can welcome console players as well as Java and mobile players.