Ask coding questions

← Back to all posts
how to communication with tcp server created in REPL
mWindowsHz (1)

Hi
I wanted to know if there is a way to create TCP server in REPL page, and then open a tcp client application or diffrent REPL page, and use wireshark to analyse the communication.

  1. is there a public ip address that can be used? (server and client communication)
  2. how to monitor communication.
    I am planning to use Python

Thanks in advance

Comments
hotnewtop
Vandesm14 (2639)

This is totally possible. You can open a tcp server on a repl and connect to it using the repl.co link that it gives you.

mWindowsHz (1)

@Vandesm14

Hi
did not understand the answer.

how can I find the repl.co link?

I found for example this code
https://repl.it/@Animator282/TCP-Sockets

so a server is created , but how do I connect to it?
and how can I connect to it over the internet. with a public IP
and also from a different REPL page.
Thanks

Vandesm14 (2639)

@mWindowsHz Since repl.it couldn't detect that you're running a server, there won't be a repl.co link. Try using this link: http://TCP-Sockets.animator282.repl.co

JunaidAlam1 (0)

How to connect app with repl.co I can't understand please give me example of code anyone.Thanks in advance.