Search found 2 matches

by LuLove
Wed Jul 25, 2018 1:59 pm
Forum: General
Topic: connection reffused
Replies: 3
Views: 3571

Re: connection reffused

Мэтю wrote: Mon Jul 23, 2018 2:24 pm Silly question: Are you at least running a server at this port? You only wrote the client part, which connects to a server. If no server is running on the port of your desire then the connection will be refused
I'm sorry. Indeed, I was just trying to connect through different ports between them
by LuLove
Sun Jul 22, 2018 2:29 pm
Forum: General
Topic: connection reffused
Replies: 3
Views: 3571

connection reffused

Hello! I'm trying to create a client-server application. I have a question on luasocket. I connect the socket = require ("socket") library and write the code: function Backgammon: rand ()    host = "localhost"    port = 28005    c = assert (socket.connect (host, port))    return ...