WSAECONNREFUSED: Connection Refused error in AIX server - telnet

I'm seeing this WSAECONNREFUSED: Connection Refused error when i'm launching my Smarterm terminal emulation session on a IBM AIX server.
Not sure as to what could be the reason behind this. Any help on this would be appreciated.

Related

can't connect to remote server FATAL ERROR Connection reset by peer

Hi Everyone I am trying to access my server remotely by either ssh or ftp/sftp but when ever I try I get this error "FATAL ERROR: Connection reset by peer" I have read that I has something to do with the connection being dropped but I haven't found much on how to fix this issue. thank you!

How/Can I specify the version of the SQL Server Native Client OLE DB (SQLNCLI) in the connection string

I know that using the OLEDB Driver (MSOLEDBSQL) I can specify this with the Driver keyword as documented here.
Can this be done with the SQLNCLI driver?
MY ISSUE:
I see on the target machine that both version 10 and 11 are installed and we are getting the following error, that I suspect is due an disabling of tls1.1.
System.Data.SqlClient.SqlException: A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: TCP Provider, error: 0 - An existing connection was forcibly closed by the remote host.)
It looks like you can't.
I had the v10 version of the SQLNCLI driver uninstalled and everything seems to be working.

SQL Server: A connection was successfully established with the server, but then an error occurred during the login process

Our application sometimes throws out this error:
System.Data.SqlClient.SqlException (0x80131904): A connection was
successfully established with the server, but then an error occurred
during the login process. (provider: SSL Provider, error: 0 - An
existing connection was forcibly closed by the remote host.) --->
System.ComponentModel.Win32Exception (10054): An existing connection
was forcibly closed by the remote host.
The application runs perfectly fine for some time, but just sometimes throws the exception above. Until now it is pretty hard to find the cause of this. Some say that it has to do with the amount of connections, but we have it set at zero and therefor it should be maximized at around 32k connections which we think we do not use.
EDIT: Seen the SSL provider is used and the client OS version is lower than the SQL server OS version I am thinking about the TLS version or cipher suite. I still cannot figure out why the same client is sometimes using a different/incompatible cipher suite or TLS version.
I had the same experience when my source os version was windows server 2016 and destination os was windows 2012, after windows update it happened, check windows recent updates.

Set up SQL Server connection in Dbvisualizer on Mac

I am trying to set up an SQL server connection in db visualiser on mac but i am getting the error "cannot connect to port 1433". I have tried to connect to the port through the terminal but i get the exact same message.
Can anyone advise me on how to set this up? i am a total noob
Is the database really running on the same Mac as DbVisualizer? If so, is it configured to accept TCP/IP connections on localhost (127.1.1.1) on port 1433? As I recall, SQL Server does not accept TCP/IP connections by default, and you need to enable it explicitly for each network interface.
Best Regards,
Hans

Connecting to my remote SqlServer database

Im currently making a wpf Windows Application, and it withdraws data from a database, so it is needed that I setup a connection to my remote servers SQL Server Database. Now i am getting a couple errors. When I first of all try to connect to my remote servers Sql Server using management studio, just to test if I could actually make a connection, I get the following error.
A connection was successfully established with the server, but then an error occured during the login process. (provider: Named Pipes Provider, error: 0 - No process is on the other end of the pipe.)
(Microsoft SQL Server, Error: 233)
And ovcourse, I did try my best to do my research, and I found out a few things talking about allowing the SqlBrowser in firewall properties, done that...
allowing a connection to port 1433 and port 1434 through windows firewall, done that both.
Is there something Im missing or not doing?
Also it says "a connection was succcessfully established with the server" which means that It is able to connect, but something is going wrong somewhere. Also where it says "error occured during login process" could it simply mean I entered the wrong credentials?
I mean, when installing the SQLExpress I chose Windows Authentication so I never really got a username and password, So i just used the username and password for the Administrator account I use to connect to my server itself. Dont know It could have something to maybe just do with my login.
Could anyone please point me in the right direction as to why Im getting that error, even though I have enabled the TCP Connections and allowed SqlBrowser.
Any help would be greatly appreciated.
Thanks.
This is a bad certificate-related error, probably caused by different operating systems/environmental differences. If this is for testing purposes I'd disable the certificate, or you can configure it here (which is probably a good idea if you're creating a real application and not just playing around with it).
Please run the sql service and agent service by creating new id and start the service with that like ea admin or any other.
The port error will continue to show even if you fix the port ,check telnet configuration and enabled/open port via it.
I had similar problems so i created a virtual server installed sql server2008 r2 and then started it worked fine.
There are possibilities of error and authentication problems since we reuse the server by formatting it .