You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2021/12/12 14:54:08 UTC
[GitHub] [apisix] yunfhu edited a comment on issue #5775: request help: stream-proxy as mysql proxy not work
yunfhu edited a comment on issue #5775:
URL: https://github.com/apache/apisix/issues/5775#issuecomment-991911870
inside the apisix pod,I use the telnet command to check the stream proxy route, it shows able to route to mysql host
```
@MacBook-Pro APISIX % kubectl exec -it apisix-557f5f646f-r69z9 sh
kubectl exec [POD] [COMMAND] is DEPRECATED and will be removed in a future version. Use kubectl exec [POD] -- [COMMAND] instead.
sh-4.2# telnet localhost 9100
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
J
5.7.36@1->t-::kmLEXU'7Lmysql_native_password
```
but when I use the nodeport to test proxy function, the connection was closed
```
@MacBook-Pro ~ % telnet localhost 30100
Trying ::1...
Connected to localhost.
Escape character is '^]'.
Connection closed by foreign host.
```
and here is the service information:
```
NAMESPACE NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
default apisix NodePort 10.111.193.248 <none> 9080:30080/TCP,9100:30100/TCP 39m
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org