<p>I tried with this <code>Gateway</code>, and <code>VirtualService</code>, didn't work.</p>
<pre><code>apiVersion: networking.istio.io/v1alpha3
kind: Gateway
metadata:
  name: stomp
spec:
  selector:
    istio: ingressgateway
  servers:
  - port:
      number: 80
      name: stomp
      protocol: TCP
    hosts:
    - rmq-stomp.mycompany.com
</code></pre>
<pre><code>apiVersion: networking.istio.io/v1alpha3
kind: VirtualService
metadata:
  name: rmq-stomp
spec:
  hosts:
  - rmq-stomp.mycompany.com
  gateways:
  - stomp
  http:
  - match:
    - uri:
        prefix: /
    route:
    - destination:
        port:
          number: 61613
        host: rabbitmq.default.svc.cluster.local
</code></pre>
<p>There's no problem with the service, because when I tried to connect from other pod, it's connected.</p>

<p>Use <code>tcp.match</code>, not <code>http.match</code>. Here is the example I have found in <a href="https://istio.io/latest/docs/reference/config/networking/gateway/" rel="nofollow noreferrer">istio gateway docs</a> and in <a href="https://istio.io/latest/docs/reference/config/networking/virtual-service/#TCPRoute" rel="nofollow noreferrer">istio virtualservice dosc</a></p>
<pre><code>apiVersion: networking.istio.io/v1alpha3
kind: VirtualService
metadata:
  name: bookinfo-mongo
  namespace: bookinfo-namespace
spec:
  hosts:
  - mongosvr.prod.svc.cluster.local # name of internal Mongo service
  gateways:
  - some-config-namespace/my-gateway # can omit the namespace if gateway is in same namespace as virtual service.
  tcp:
  - match:
    - port: 27017
    route:
    - destination:
        host: mongo.prod.svc.cluster.local
        port:
          number: 5555
</code></pre>
<p>So your would look sth like:</p>
<pre><code>apiVersion: networking.istio.io/v1alpha3
kind: VirtualService
metadata:
  name: rmq-stomp
spec:
  hosts:
  - rmq-stomp.mycompany.com
  gateways:
  - stomp
  tcp:
  - match:
    - port: 80
    route:
    - destination:
        host: rabbitmq.default.svc.cluster.local
        port:
          number: 61613
</code></pre>
<hr />
<p>Here is a similar question answered: <a href="https://stackoverflow.com/questions/54492068/how-to-configure-istios-virtualservice-for-a-service-which-exposes-multiple-por">how-to-configure-istios-virtualservice-for-a-service-which-exposes-multiple-por</a></p>
