A2Pro
hacker
@A2Pro
1
2
Great! Another way to abuse repl.it's server files system! This took way, way too long to make.
Python
2
Are sockets available in repl.it? I want to try connecting to one repl from a different one but this error shows up: ConnectionRefusedError : [Errno 1
Saibot84 Great question, @CreateAWebsite!
Yes, websockets are available. Try using
HOST=''
or
HOST='0.0.0.0'
instead of
HOST='127.0.0.1'2 years ago
Coder100 Given your server is on example.user.repl.co, just connect it like something like:
HOST = 'https://example.user.repl.co'
PORT = x
d = d+" "
with socket.socket(socket.AFINET, socket.SOCKSTREAM) as s:
s.bind((HOST, PORT))
s.listen()
conn, addr = s.accept()
`2 years ago