How to register service with multiple ports?

My service has multiple ports, eg: 8080 for external HTTP API, 9090 for internal gRPC API… How can I specify multiple ports for my service?

Additionally I want to use Consul service mesh, how can I map port between service and it’s sidecar proxy?