MySql handle raised an exception (MySqlException: Unable to connect to any of the specified MySQL hosts.)
at MySql.Data.MySqlClient.NativeDriver.Open () [0x00057] in <8d7380b3d3cf4bd8be324c584f371b44>:0
at MySql.Data.MySqlClient.Driver.Open () [0x0000b] in <8d7380b3d3cf4bd8be324c584f371b44>:0
at MySql.Data.MySqlClient.Driver.Create (MySql.Data.MySqlClient.MySqlConnectionStringBuilder settings) [0x0004d] in <8d7380b3d3cf4bd8be324c584f371b44>:0
at MySql.Data.MySqlClient.MySqlConnection.Open () [0x0016c] in <8d7380b3d3cf4bd8be324c584f371b44>:0
at Oxide.Core.MySql.Libraries.MySql+MySqlQuery.Handle () [0x00059] in <79d157ef50864cd6a493ea45b8d9c402>:0
[DiscordMessages] Failed! Discord responded with code: 0. Plugin: DiscordMessages
Error: ConnectFailure (Connection timed out)
Connection timed out Server losing network connection
Looks like a network failure with your server, not something we can fix.
Do you know how to fix ?
Merged post
on another server port it work other rust ip is the same machine
Merged post
sudo ufw allow 28015 if I enter this into a dedicated server will it help me?
Merged post
on another server port it work other rust ip is the same machine
Merged post
sudo ufw allow 28015 if I enter this into a dedicated server will it help me?
I'm not really familiar with Linux networking anymore, sorry.
I'm assuming you're on a Debian-based distro.
First, disable ufw to test if this is what's causing your issue:
$ sudo ufw disable
If this doesn't resolve your problem then you have other networking issues. If it does, then (assuming the default ports for rustserver):
$ sudo ufw allow 28015/udp
$ sudo ufw allow 28016/tcp
$ sudo ufw default deny incoming
$ sudo ufw default allow outgoing
$ sudo ufw enable
NOTE: if your server is on a router and your port forwarding is using different numbers for internal/external then it's the INTERNAL ports you need to set. If you're using a commercial hosting service then you can ignore this.
Merged post
You can check it like this:
$ sudo ufw status
Status: active
To Action From
-- ------ ----
28015/udp ALLOW Anywhere
28016/tcp ALLOW Anywhere
28015/udp (v6) ALLOW Anywhere (v6)
28016/tcp (v6) ALLOW Anywhere (v6)
First, disable ufw to test if this is what's causing your issue:
$ sudo ufw disable
If this doesn't resolve your problem then you have other networking issues. If it does, then (assuming the default ports for rustserver):
$ sudo ufw allow 28015/udp
$ sudo ufw allow 28016/tcp
$ sudo ufw default deny incoming
$ sudo ufw default allow outgoing
$ sudo ufw enable
NOTE: if your server is on a router and your port forwarding is using different numbers for internal/external then it's the INTERNAL ports you need to set. If you're using a commercial hosting service then you can ignore this.
Merged post
You can check it like this:
$ sudo ufw status
Status: active
To Action From
-- ------ ----
28015/udp ALLOW Anywhere
28016/tcp ALLOW Anywhere
28015/udp (v6) ALLOW Anywhere (v6)
28016/tcp (v6) ALLOW Anywhere (v6)