# Config Kong for a new port

**URL:** <https://discuss.konghq.com/t/config-kong-for-a-new-port/10057>\
**Category:** General\
**Tags:** kong-gateway\
**Created:** [April 15, 2022, 4:27am UTC](https://discuss.konghq.com/t/config-kong-for-a-new-port/10057 "2022-04-15T04:27:17Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![stanleynho](https://avatars.discourse-cdn.com/v4/letter/s/8baadc/32.png) [@stanleynho](https://discuss.konghq.com/u/stanleynho)\
**Post date:** [April 15, 2022, 4:27am UTC](https://discuss.konghq.com/t/config-kong-for-a-new-port/10057/1 "2022-04-15T04:27:17Z")

</div>

Hello,

I’m trying to config Kong to listen to a new port and I found this [doc](https://github.com/Kong/docs.konghq.com/blob/59199849eeccd19e250023034d5f4494bd10ce6f/app/kubernetes-ingress-controller/2.3.x/guides/using-tcpingress.md). is there a way I can config kong without running those patch command?  
Do you have a helm chart example for reference?  
Thanks

---

<div class="post-metadata">

**Author:** ![fomm](https://avatars.discourse-cdn.com/v4/letter/f/ea666f/32.png) [@fomm](https://discuss.konghq.com/u/fomm)\
**Post date:** [April 15, 2022, 7:37am UTC](https://discuss.konghq.com/t/config-kong-for-a-new-port/10057/2 "2022-04-15T07:37:29Z")

</div>

You can enable stream listen on your `values.yaml` file

> <https://github.com/Kong/charts/blob/kong-2.7.0/charts/kong/values.yaml#L262>

---

<div class="post-metadata">

**Author:** ![stanleynho](https://avatars.discourse-cdn.com/v4/letter/s/8baadc/32.png) [@stanleynho](https://discuss.konghq.com/u/stanleynho)\
**Post date:** [April 19, 2022, 3:44am UTC](https://discuss.konghq.com/t/config-kong-for-a-new-port/10057/3 "2022-04-19T03:44:17Z")

</div>

Thank you,

I updated that stream and now the svc prox can listen to port 9100 but I ran into this error

```auto
127.0.0.1 - - [19/Apr/2022:03:34:46 +0000] "POST /config?check_hash=1 HTTP/1.1" 201 12655 "-" "Go-http-client/1.1"
2022/04/19 03:35:10 [error] 1101#0: *53892 stream [lua] handler.lua:1151: before(): no Route found with those values while prereading client data, client: 10.86.154.41, server: 0.0.0.0:9100

```

the route looks fine to me

```auto
{
  "next": null,
  "data": [
    {
      "name": "sat.echo-plaintext.0",
      "request_buffering": true,
      "response_buffering": true,
      "protocols": [
        "tcp",
        "tls"
      ],
      "path_handling": "v0",
      "service": {
        "id": "bca84765-5ef5-554a-890d-1c39bb0d9c73"
      },
      "regex_priority": 0,
      "hosts": null,
      "snis": [
        "msi.sat.com"
      ],
      "methods": null,
      "sources": null,
      "destinations": [
        {
          "ip": null,
          "port": 9100
        }
      ],
      "strip_path": true,
      "id": "ea178e17-b0ee-515c-9e49-efed2b5c5d01",
      "headers": null,
      "https_redirect_status_code": 426,
      "updated_at": 1650339285,
      "preserve_host": false,
      "created_at": 1650339285,
      "paths": null,
      "tags": null
    }
  ]
}
[root@n665dn kong]# curl -ks https://localhost:8444/services/bca84765-5ef5-554a-890d-1c39bb0d9c73 | jq
{
  "name": "sat.stho-mag-rest-svc.9100",
  "port": 80,
  "client_certificate": null,
  "created_at": 1650339285,
  "updated_at": 1650339285,
  "connect_timeout": 60000,
  "read_timeout": 60000,
  "tags": null,
  "ca_certificates": null,
  "host": "stho-mag-rest-svc.sat.9100.svc",
  "tls_verify_depth": null,
  "id": "bca84765-5ef5-554a-890d-1c39bb0d9c73",
  "protocol": "tcp",
  "enabled": true,
  "path": null,
  "retries": 5,
  "tls_verify": null,
  "write_timeout": 60000
}

```

I am not sure what could be wrong.

---

<div class="post-metadata">

**Author:** ![stanleynho](https://avatars.discourse-cdn.com/v4/letter/s/8baadc/32.png) [@stanleynho](https://discuss.konghq.com/u/stanleynho)\
**Post date:** [April 19, 2022, 5:00am UTC](https://discuss.konghq.com/t/config-kong-for-a-new-port/10057/4 "2022-04-19T05:00:42Z")

</div>

I got passed this error but then having this error for kong gateway

```auto
2022/04/19 04:58:11 [error] 1103#0: *24341 upstream timed out (110: Operation timed out) while proxying connection, client: 10.86.154.41, server: unix:/kong_prefix/stream_tls_terminate.sock, upstream: "172.18.0.11:9100", bytes from/to client:130/0, bytes from/to upstream:0/0

```

any thought on what it means server: unix:/kong\_prefix/stream\_tls\_terminate.sock? thank you

---

<div class="post-metadata">

**Author:** ![hassan](https://avatars.discourse-cdn.com/v4/letter/h/7993a0/32.png) [@hassan](https://discuss.konghq.com/u/hassan)\
**Post date:** [May 20, 2022, 1:13pm UTC](https://discuss.konghq.com/t/config-kong-for-a-new-port/10057/5 "2022-05-20T13:13:52Z")

</div>

> [@stanleynho](#):
>
> `no Route found with those values while prereading client data`

Were you able to fix this error? Can you tell me how it was fixed? I am exactly at the same situation
