Grasscutters / Grasscutter

A server software reimplementation for a certain anime game.
https://grasscutter.io/
GNU Affero General Public License v3.0
16.21k stars 4.47k forks source link

erver again, I get an error #217

Closed maxinhenshuai closed 2 years ago

maxinhenshuai commented 2 years ago

When I start the server again, I get an error, and mongoDB starts successfully. [13:10:42] [INFO] Opened connection [connectionId{localValue:3, serverValue:5}] to localhost:27017 [13:10:43] [WARN] [Dispatch] No SSL cert found! Falling back to HTTP server. Exception in thread "main" java.net.BindException: Address already in use: bind at sun.nio.ch.Net.bind0(Native Method) at sun.nio.ch.Net.bind(Net.java:433) at sun.nio.ch.Net.bind(Net.java:425) at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223) at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74) at sun.net.httpserver.ServerImpl.(ServerImpl.java:100) at sun.net.httpserver.HttpServerImpl.(HttpServerImpl.java:50) at sun.net.httpserver.DefaultHttpServerProvider.createHttpServer(DefaultHttpServerProvider.java:35) at com.sun.net.httpserver.HttpServer.create(HttpServer.java:130) at emu.grasscutter.server.dispatch.DispatchServer.start(DispatchServer.java:182) at emu.grasscutter.Grasscutter.main(Grasscutter.java:78)

Tomiaocat commented 2 years ago

don't worry

https://github.com/Grasscutters/Grasscutter/wiki/Troubleshooting#address-already-in-use-bind

F-Unction commented 2 years ago

Try build stable branch. There might be some problems in the release jar.

KingRainbow44 commented 2 years ago

this isnt a support forum, this is an issue tracker. check the discord if you need help.