m-byte918 / MultiOgarII

A continued version of the original MultiOgar, an open source Ogar server implementation written with Node.js.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Disconnected

KittyTigerWolf opened this issue · comments

Normal installation on Mac OS X Mojave
Server seems to run fine in the console except one error message:

[Error] Failed to start stats server: listen EADDRINUSE: address already in use :::88

When I try to join the server in agar.io though, a "Disconnected" text comes up.
I have tried different ports as well as just localhost, but none of them work.
Help would be appreciated.

this port is already used

How do I fix this problem then, so that I can connect. Changing the port doesn't help, the error goes away, yes, but I still can't connect to it.

Have you tried 127.0.0.1:port instead of localhost:port?
Also, are there any errors in the developer console? (f12)

Yes, I am using 127.0.0.1:port, also there are no errors when connecting, but there are a few warnings, here are all the console messages
image

Find out which service is running on your specific port and terminate it, if you don't need it.
lsof -i :port
In your case, its the stats server running at 88 which is colliding with some other application you are running on your machine.

@KittyTigerWolf Are you connecting to port 88?

kill $(lsof -i:88)
Note: you should change to another unused port, as port 88 is used by kerberos

I believe MultiOgarII does not currently work with agar.io. You may need to use an open source client such as Cigar or Cigar2.

Guys 88 is the stat port, its a system reserved port and therefore requires root permits. 8080 is the server port, so unless you're using the stats for something, you don't really need it.