Skip to content
← Back to Community
how to communication with tcp server created in REPL
Profile icon
mWindowsHz

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

Voters
Profile icon
mWindowsHz
Comments
hotnewtop
Profile icon
Vandesm14

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.

Profile icon
mWindowsHz

@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

Profile icon
Vandesm14

@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

Profile icon
JunaidAlam1

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

Profile icon
9pfs

@JunaidAlam1 It seems like it no longer works.