I've developed a client porgram which needs to establish a connection to a mysql database. Up to now i use the jdbc for this. However, the company gave me the restriction to only use either the port 80 or 8080.
My question now is, if it is possible to use jdbc and force the client somehow to use one of these ports or can anyone name a better framework/ way on how to connect with only one of these ports?
edit: First of all, thank you for the fast answers, but I think I may have asked on a way which does not generate the answer I need. To clarify myself, I do not need to get the mySQL-Server to listen to the ports 80 / 8080. The serverside is fine with the default port. I need to force the client to access the internet with either port 80 or 8080.