- Home /
Target Machine Refuse Connection
SocketException: No connection could be made because the target machine actively refused it. System.Net.Sockets.Socket.Connect (System.Net.EndPoint remoteEP, Boolean requireSocketPolicy) System.Net.Sockets.Socket+Worker.Connect () Rethrow as TdsInternalException: Server does not exist or connection refused. Mono.Data.Tds.Protocol.TdsComm..ctor (System.String dataSource, Int32 port, Int32 packetSize, Int32 timeout, TdsVersion tdsVersion) Mono.Data.Tds.Protocol.Tds..ctor (System.String dataSource, Int32 port, Int32 packetSize, Int32 timeout, TdsVersion tdsVersion) Mono.Data.Tds.Protocol.Tds70..ctor (System.String server, Int32 port, Int32 packetSize, Int32 timeout, TdsVersion version) Mono.Data.Tds.Protocol.Tds80..ctor (System.String server, Int32 port, Int32 packetSize, Int32 timeout) Mono.Data.Tds.Protocol.TdsConnectionPoolManager.CreateConnection (Mono.Data.Tds.Protocol.TdsConnectionInfo info) Mono.Data.Tds.Protocol.TdsConnectionPool.GetConnection () System.Data.SqlClient.SqlConnection.Open () Rethrow as SqlException: Server does not exist or connection refused. System.Data.SqlClient.SqlConnection.Open () (wrapper remoting-invoke-with-check) System.Data.SqlClient.SqlConnection:Open () Connector.Start () (at Assets/Connector.cs:16)
Here is a copy paste of an error. The target machine is a server in a dmz and i try to access the mysql server with these settings:
private string connStr = "Server=dengog.dyndns.org;"+"Database=wtf-online;"+"User ID=admin;"+"Password=password;";
The settings are correct and i also controlled that in the mysql settings that for the user admin host is % (I don't want to use php scripts they are too slow, so i work with storedprocedures) thanks in advance
Your answer

Follow this Question
Related Questions
Web Player and database 1 Answer
How to integrate with Google Cloud mysql 0 Answers
Connecting to access database via C# 1 Answer
Best way (performance) to connect to a (MYSQL) DB 2 Answers
How to fix MySQL Connection error? 0 Answers