Port communication, ingress port is bound, is there any restriction on exit?

give an example,

the local client accesses the remote mysql server 3306 port.
requires access to remote port 3306.

my question is: does the network of the local client need to apply? Local access to remote port 3306, which port is used by the local network card?

non-computer class, asked a stupid question, thank you in advance.

Feb.28,2021

No, local random port

Menu