No, programming languages don't have their own port numbers. Port numbers are for specific services. If you are sending mail through SMTP, then use the SMTP(25) port. If you are connecting to a HTTP server, then use the HTTP(80) port. I think you get the jist. They can be changed, but normally you want to stick with the standard.