update tunnel-server README.md (#2529)

pull/2544/head
shiling02404 2 years ago committed by GitHub
parent 8593b1d77c
commit 8a954b4f28
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -18,13 +18,13 @@ For example:
start connect to tunnel server with URL: `'ws://192.168.1.10:7777/ws?method=connectArthas&id=bvDOe8XbTM2pQWjF4cfw` start connect to tunnel server with URL: `'ws://192.168.1.10:7777/ws?method=connectArthas&id=bvDOe8XbTM2pQWjF4cfw`
4. Arthas server find the `control connection` with the id `bvDOe8XbTM2pQWjF4cfw` 4. Arthas tunnel server find the `control connection` with the id `bvDOe8XbTM2pQWjF4cfw`
then send a text frame to arthas tunnel client: `response:/?method=startTunnel&id=bvDOe8XbTM2pQWjF4cfw&clientConnectionId=AMku9EFz2gxeL2gedGOC` then send a text frame to arthas tunnel client: `response:/?method=startTunnel&id=bvDOe8XbTM2pQWjF4cfw&clientConnectionId=AMku9EFz2gxeL2gedGOC`
5. Arthas tunnel client open a new connection to tunnel server 5. Arthas tunnel client open a new connection to tunnel server
URL: `ws://127.0.0.1:7777/ws/?method=openTunnel&clientConnectionId=AMku9EFz2gxeL2gedGOC&id=bvDOe8XbTM2pQWjF4cfw` URL: `ws://192.168.1.10:7777/ws/?method=openTunnel&clientConnectionId=AMku9EFz2gxeL2gedGOC&id=bvDOe8XbTM2pQWjF4cfw`
This connection is `tunnel connection` This connection is `tunnel connection`

Loading…
Cancel
Save