iCTN Posted February 7 Posted February 7 Hi, so i get this error in console and when i join my server crashes instantly Connection refused Connection refused Connection refused Connection refused Connection refused Unable to connect to any of the specified MySQL hosts Unable to connect to any of the specified MySQL hosts Unable to connect to any of the specified MySQL hosts Unable to connect to any of the specified MySQL hosts Unable to connect to any of the specified MySQL hosts Unable to connect to any of the specified MySQL hosts Unable to connect to any of the specified MySQL hosts Unable to connect to any of the specified MySQL hosts Unable to connect to any of the specified MySQL hosts Unable to connect to any of the specified MySQL hosts Unable to connect to any of the specified MySQL hosts Unable to connect to any of the specified MySQL hosts Unable to connect to any of the specified MySQL hosts Unable to connect to any of the specified MySQL hosts Unable to connect to any of the specified MySQL hosts Unable to connect to any of the specified MySQL hosts Unhandled exception. MySql.Data.MySqlClient.MySqlException (0x80004005): Unable to connect to any of the specified MySQL hosts ---> System.Net.Sockets.SocketException (111): Connection refused at void System.Net.Sockets.Socket+AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken) at void System.Net.Sockets.Socket+AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(short token) at async bool System.Net.Sockets.Socket.ConnectAsync(SocketAsyncEventArgs e)+WaitForConnectWithCancellation(?) at async ValueTask System.Net.Sockets.TcpClient.CompleteConnectAsync(ValueTask task) at async Task<Tuple<Stream, MyNetworkStream>> MySql.Data.Common.StreamCreator.GetTcpStreamAsync(MySqlConnectionStringBuilder settings, CancellationToken canc ellationToken, bool execAsync) at async Task<Tuple<Stream, MyNetworkStream>> MySql.Data.Common.StreamCreator.GetStreamAsync(MySqlConnectionStringBuilder settings, CancellationToken cancell ationToken, bool execAsync) at async Task MySql.Data.MySqlClient.NativeDriver.OpenAsync(bool execAsync, CancellationToken cancellationToken) at MySql.Data.MySqlClient.NativeDriver.OpenAsync(Boolean execAsync, CancellationToken cancellationToken) at MySql.Data.MySqlClient.Driver.OpenAsync(Boolean execAsync, CancellationToken cancellationToken) at MySql.Data.MySqlClient.Driver.CreateAsync(MySqlConnectionStringBuilder settings, Boolean execAsync, CancellationToken cancellationToken) at MySql.Data.MySqlClient.Driver.CreateAsync(MySqlConnectionStringBuilder settings, Boolean execAsync, CancellationToken cancellationToken) at MySql.Data.MySqlClient.MySqlPool.CreateNewPooledConnectionAsync(Boolean execAsync, CancellationToken cancellationToken) at MySql.Data.MySqlClient.MySqlPool.GetPooledConnectionAsync(Boolean execAsync, CancellationToken cancellationToken) at MySql.Data.MySqlClient.MySqlPool.TryToGetDriverAsync(Boolean execAsync, CancellationToken cancellationToken) at MySql.Data.MySqlClient.MySqlPool.GetConnectionAsync(Boolean execAsync, CancellationToken cancellationToken) at MySql.Data.MySqlClient.MySqlConnection.OpenAsync(Boolean execAsync, CancellationToken cancellationToken) at ServerSide.PlayerServer.PlayerJoin.RegisterOrLoadPlayer(String socialName, String ip) in C:\Users\Snake\Desktop\ctnRP\dotnet\resources\ServerSide\Database \PlayerJoin.cs:line 14 at ServerSide.Server.<>c__DisplayClass0_0.<<OnPlayerConnected>b__0>d.MoveNext() in C:\Users\Snake\Desktop\ctnRP\dotnet\resources\ServerSide\Server.cs:line 21 --- End of stack trace from previous location --- at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__128_1(Object state) at System.Threading.ThreadPoolWorkQueue.Dispatch() at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart() Aborted
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now