Setting up TCP Proxy

Hi @Olu. That’s right! I’m using TCP as the protocol and I’m using the correct port number as well. Every time i run the TCP service, it gives me a custom port no. (This time it is port no. 19905). I have shared the logs of the docker again.

time="Aug 13 13:38:38" level=info msg="Reloading endpoints" prefix=pub-sub

time="Aug 13 13:38:38" level=info msg="Reload queued" prefix=main

time="Aug 13 13:38:38" level=info msg="reload: initiating" prefix=main

time="Aug 13 13:38:38" level=info msg="Loading policies" prefix=main

time="Aug 13 13:38:38" level=info msg="Using Policies from Dashboard Service" prefix=main

time="Aug 13 13:38:38" level=info msg="Mutex lock acquired... calling" prefix=policy

time="Aug 13 13:38:38" level=info msg="Calling dashboard service for policy list" prefix=policy

time="Aug 13 13:38:38" level=info msg="Processing policy list" prefix=policy

time="Aug 13 13:38:38" level=info msg="Policies found (3 total):" prefix=main

time="Aug 13 13:38:38" level=info msg="Detected 4 APIs" prefix=main

time="Aug 13 13:38:38" level=info msg="Loading API configurations." prefix=main

time="Aug 13 13:38:38" level=info msg="Tracking hostname" api_name=ibmUsingNgrok domain="(no host)" prefix=main

time="Aug 13 13:38:38" level=info msg="Tracking hostname" api_name=OAuthApi domain="(no host)" prefix=main

time="Aug 13 13:38:38" level=info msg="Tracking hostname" api_name=ownApi domain="(no host)" prefix=main

time="Aug 13 13:38:38" level=info msg="Tracking hostname" api_name=tcp domain="(no host)" prefix=main

time="Aug 13 13:38:38" level=info msg="Initialising Tyk REST API Endpoints" prefix=main

time="Aug 13 13:38:38" level=info msg="API bind on custom port:0" prefix=main

time="Aug 13 13:38:38" level=info msg="Checking security policy: Open" api_id=ff397e6f6d4545465c7faeec0d1f7824 api_name=ibmUsingNgrok org_id=6110d2c856a2ac00017a6f31

time="Aug 13 13:38:38" level=info msg="API Loaded" api_id=ff397e6f6d4545465c7faeec0d1f7824 api_name=ibmUsingNgrok org_id=6110d2c856a2ac00017a6f31 prefix=gateway server_name=-- user_id=-- user_ip=--

time="Aug 13 13:38:38" level=info msg="API bind on custom port:0" prefix=main

time="Aug 13 13:38:38" level=info msg="Checking security policy: OAuth" api_id=7408e04130fc48ec79054e4878b7c3a9 api_name=OAuthApi org_id=6110d2c856a2ac00017a6f31

time="Aug 13 13:38:38" level=info msg="API Loaded" api_id=7408e04130fc48ec79054e4878b7c3a9 api_name=OAuthApi org_id=6110d2c856a2ac00017a6f31 prefix=gateway server_name=-- user_id=-- user_ip=--

time="Aug 13 13:38:38" level=info msg="API bind on custom port:0" prefix=main

time="Aug 13 13:38:38" level=info msg="Checking security policy: OpenID" api_id=676bbe26e0ca4cda61fa68f4ccbb476e api_name=ownApi org_id=6110d2c856a2ac00017a6f31

time="Aug 13 13:38:38" level=info msg="API Loaded" api_id=676bbe26e0ca4cda61fa68f4ccbb476e api_name=ownApi org_id=6110d2c856a2ac00017a6f31 prefix=gateway server_name=-- user_id=-- user_ip=--

time="Aug 13 13:38:38" level=info msg="API bind on custom port:19905" prefix=main

time="Aug 13 13:38:38" level=info msg="--> Standard listener (tcp)" port=":19905" prefix=main

time="Aug 13 13:38:38" level=warning msg="Starting TCP server on:[::]:19905" prefix=main

time="Aug 13 13:38:38" level=info msg="Initialised API Definitions" prefix=main

time="Aug 13 13:38:38" level=info msg="API reload complete" prefix=main

time="Aug 13 13:38:38" level=info msg="reload: complete" prefix=main

time="Aug 13 13:38:38" level=info msg="Initiating coprocess reload" prefix=main

time="Aug 13 13:38:38" level=info msg="Reloading middlewares" prefix=coprocess

time="Aug 13 13:38:38" level=info msg="coprocess reload complete" prefix=main

time="Aug 13 13:38:38" level=info msg="reload: cycle completed in 40.6977ms" prefix=main

After all this, when i try to access the TCP service via Tyk, it returns a response of 404(Not Found). Please help me out here and I really appreciate your help. Thanks!