Linked Questions

0 votes
0 answers
26 views

Fatal error: Uncaught mysqli_sql_exception: No connection could be made because the target machine actively refused [duplicate]

<?php $connection = mysqli_connect("localhost", "root", ""); $db = mysqli_select_db($connection, 'bfp_drrm'); $query = "SELECT * FROM initial"; ...
alez_nalimaj's user avatar
13 votes
2 answers
15k views

How do I configure PyMySQL connect for SSL?

I'm trying to connect my database using SSL with PyMySQL, but I can't find good documentation on what the syntax is. These credentials work in Workbench and with the CLI, but I get this error when ...
ManOAction's user avatar
8 votes
5 answers
15k views

Send mail with Gmail SMTP using MailKit SMTP Client in .NET core 2.2 is not working for me

I'm using NLog an target to send log to some emails using smtp.google.com:587 SMTP server. When I'm using standard System.Net.Mail.SmtpClient library it's working without any problems but when using ...
GetTaxSolutions's user avatar
3 votes
2 answers
37k views

WinError 10061, Python Server and Client connection problem

I have two scripts: server.py and client.py and I am trying to connect them globally. They are something like this: server.py: import socket server = socket.socket(socket.AF_INET, socket.SOCK_STREAM) ...
user avatar
9 votes
3 answers
5k views

How to solve "Error connecting to SMTP host: [Errno 10061] No connection could be made because the target machine actively refused it''?

I am creating an application where I need to send mail for some particular logs. Here is my rule file: es_host: localhost es_port: 9200 name: Log Level Test type: frequency index: testindexv4 ...
Deva's user avatar
  • 1,039
2 votes
3 answers
2k views

Cannot connect to socket on local machine

I did a simple translation of the example C# code here: let socket_CreateBindListen (sv_ : string) (pt_ : int) : Socket option = let (he : IPHostEntry) = Dns.GetHostEntry(sv_) let rsock, ipe =...
Shredderroy's user avatar
  • 2,900
0 votes
1 answer
27k views

Geting Error "No connection could be made because the target machine actively refused it"

I am Creating a smart Device Application for my client in Visual studio 2008. I Have Create a web service to get stock data from actual database and save in windows ce Device Compact database on a ...
Sadequzzaman Monoj's user avatar
4 votes
4 answers
6k views

C# Starting Appium programmatically - target machine actively refused it

I want to start Appium server programmatically using C#. when I use Appium window to start Appium manually, It Starts successfully: But when I run it automatically often I get an exception: "An ...
Yuval Levy's user avatar
  • 2,447
2 votes
3 answers
15k views

socket_connect(): unable to connect [10061] - target machine actively refused it

I am trying to connect the target written in C using PHP socket_connect() function, but I am getting the following error: Warning: socket_connect(): unable to connect [10061]: No connection could be ...
KumarA's user avatar
  • 1,378
1 vote
1 answer
7k views

Connection Refused with TCP socket Error # 10061

I'm creating a small chat (1-1) application to learn network programming and when creating the socket using TCP protocol, the Socket.Connect() always return error 10061. However, if I make the socket ...
David's user avatar
  • 650
1 vote
2 answers
6k views

No connection could be made because the target machine actively refused it 127.0.0.1:port with subdomain

I am running an ASP.NET MVC 5 application which also hosts IdentityServer3. As many others have experienced before, when I connect to this endpoint... http://tenant1.localhost:51515/identity/.well-...
hbulens's user avatar
  • 1,919
0 votes
1 answer
5k views

Azure Storage returning "Unable to connect to server"

I am receiving an error when trying to get a container reference using the Azure storage API. I can connect to my Azure storage account from the server explorer in Visual Studio. I can also connect ...
oranjutanj's user avatar
0 votes
2 answers
4k views

No connection could be made because the target machine actively refused

Hold on. before you mark this as duplicate. I am having a slightly different issue. So I'm calling an api that throws this exception. But - the catch is This happens only when the call is made from ...
Night Monger's user avatar
-1 votes
1 answer
4k views

No connection could be made because the target machine actively refused it 127.0.0.1:27681

My project is an Asp.Net web site developed using visual studio 2015 (.Net framework: 4). Its a WebApi and MVC two in one project and working fine on my development machine. But after publishing on ...
Seevali Rathnayake's user avatar
0 votes
2 answers
3k views

Connection refused: ADB connection from Iphone to windows

I am trying to build a watch face for Android wear. The Android wear is an emulator and the device that I have is an iPhone connected via USB to my windows laptop I have followed the instructions ...
Mahesh N's user avatar
  • 772

15 30 50 per page