Aias00 commented on code in PR #6026:
URL: https://github.com/apache/shenyu/pull/6026#discussion_r2094044415


##########
README.md:
##########
@@ -148,7 +148,9 @@ curl --location --request POST 
'http://localhost:9195/shenyu/plugin/selectorAndR
     }]
 }'
 ```
-
+> If the backend service handling the request is running on your host machine, 
please set `upstreamUrl` to `host.docker.internal:8080` or specify IP address  
if reachable from the container in the above command.

Review Comment:
   what is `upstreamUrl` and `host.docker.internal:8080` meaning?



##########
README.md:
##########
@@ -148,7 +148,9 @@ curl --location --request POST 
'http://localhost:9195/shenyu/plugin/selectorAndR
     }]
 }'
 ```
-
+> If the backend service handling the request is running on your host machine, 
please set `upstreamUrl` to `host.docker.internal:8080` or specify IP address  
if reachable from the container in the above command.
+> 
+> Add `--network host` to docker run command instead of `--net shenyu` also 
works correctly.

Review Comment:
   no, should be 'network shenyu as host mode'



-- 
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-unsubscr...@shenyu.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to