How to listen tcp stream on all ip with specific port

hello

i would like to listen on tcp stream for all ip address on a specific port for that i did below
changes
added below in kong config
- name: KONG_STREAM_LISTEN
value: “0.0.0.0:1883”
added route

curl localhost:8001/services/tcpbinnew/routes -d name=service-b-tcp -d protocols=tcp -d sources[1].ip=0.0.0.0 -d sources[1].port=1883

but when trying to connect
there is an warning saying that
2019/11/22 12:42:48 [error] 34#0: *2827 stream [lua] handler.lua:609: before(): no Route found with those values while prereading client data, client: 172.19.0.1, server: 0.0.0.0:1883


© 2019 Kong Inc.    Terms  •  Privacy  •  FAQ