If you are connecting from Bedrock (Android, IOS, Xbox, Playstation, Windows 10 Edition) to a Java Edition server, then you need Floodgate and Geyser as plugins on your Java server to accept Bedrock clients. You can find a full guide on how to set this up here...