Black-and-white navy romance

Hello, I am looking for a specific black-and-white movie located in World war II about a guy, who is new to the navy, who can play on the mouthpeace of a trumpet and has a romance with a "taxi girl’. Can sb help?

Reminds me of From Here to Eternity (1953).

Was it a musical, like Anchors Aweigh or On The Town?