Skip to content

Commit 1d0da56

Browse files
committed
Merge branch 'master' of github.com:pandolia/remote_embed
2 parents 974da40 + d6aca74 commit 1d0da56

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

readme.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ Run the script on the remote machine, you will see the remote process break at t
4545

4646
In windows, you can download **nc** from [here](https://eternallybored.org/misc/netcat/).
4747

48-
If you just want to interact with another process at the same machine, just use **embed = Embed(port=6000)**. This will make the process break and listen on **127.0.0.1:6000**. Then you can open another terminal and run **nc 127.0.0.1 6000** to attach to and interact with it.
48+
If you just want to interact with another process at the same machine, just use **embed = Embed(port=7000)**. This will make the process break and listen on **127.0.0.1:7000**. Then you can open another terminal and run **nc 127.0.0.1 7000** to attach to and interact with it.
4949

5050
If you just use **embed = Embed()**, the process will listen on **127.0.0.1:first_available_port**, and print the port being listened on its terminal(specifically: its sys.stderr).
5151

0 commit comments

Comments
 (0)