Console systems use an edition called bedrock edition and PC uses Java edition

In order for them to cross play you will need to install the plugins Floodgate and Gyser

Copy those files into your plugins folder and restart the server and they should install automatically

Now on a console you want to work with your server edit the network settings and change the DNS settings to the following:

Primary: 104.238.130.180
Secondary: 8.8.8.8

Close Minecraft and sign back in and go to Multiplayer

Select ANY server and you will get a prompt to then enter your server information

https://www.youtube.com/watch?v=zalT_oR1nPM
https://www.youtube.com/watch?v=OmLxwl7_UzQ

References:

https://www.gamepur.com/guides/how-to-set-up-and-connect-to-minecraft-servers-for-bedrock-crossplay
https://github.com/GeyserMC/Geyser/wiki/Using-Geyser-with-Consoles