Conflict with VPN client and SQL Server Express - windows

I have a Windows application running locally on a Windows 10 PC that connects to a SQL Server Express database that is also installed locally on the PC. The PC also has a VPN client on it. Whenever the VPN client is logged onto a network, the Windows application cannot connect to the SQL Server database. So, I have to go into SQL Server Configuration Manager and change the setup from using TCP/IP to use Shared Memory. Then everything works fine. So, I assume both programs are using the TCP/IP stack and are conflicting with each other. The VPN client is typically connected continuously all day. Would anyone know why there would be a conflict here? Thanks.

Related

Connect to Firebird database on Windows instance via CentOS

I have the task to establish a connection to a Firebird database that is located on a Windows instance. What I was able to accomplish so far was to establish a connection via PHP PDO on my local machine and query the databases.
However, I run into dead ends when I try to connect to the Firebird database that isn't on my PC locally. The database is located on a Windows remote server. The provider opened a port for that gets then redirected to port the Firebird database should be listening to as well (5143 was on my local machine and provider said it was the same on their end. So we try to connect over serveraddress:port and get forwarded to the corresponding port then).
First issue was to get Firebird working in CentOS but I got that down.
Connecting to the specified port I get the error "SQLSTATE[HY000] [335544421] connection rejected by remote interface", any other, not open port, returns correctly "connection refused".
Is it even possible to connect to a Windows remote server? Am I even "connected" / trying to connect to the Firebird database there and it gets declined then?
I read a lot about the rejected by remote interface error but nothing really pops into my mind what it can be.
I tried various setups, tried different ports, we logged on over TeamViewer and set up an ODBC connection locally on the remote desktop which succeeded. Both connections over the 32-bit and the 64-bit ODBC worked. We checked the Firebird versions and they were identical. We even tried to connect from a Windows notebook to the Windows remote.
I basically just want to establish a connection over PHP PDO.

Windows 10 Docker Container Clients can't access SQL on Host

Set up is:
Windows 10 Pro 64 bit
All Hyper-V and Container features turned on
Full Sql Server, standard port 1433
Visual Studio 2017
Docker Community Edition Version 18.03.1-ce-win65 (17513)
Stock Windows 10 Firewall rules and security Polices
No additional anti-virus or security
I built a POC .net core 2.1 service in VS2017, added docker support. For test purposes I am trying to connect to the Sql Server from the service. I understand it runs in its own private network. When I run the service as a standalone outside of docker, it connects to Sql fine, so all that is working. Inside of the container it can't connect. I'm specifying the IP of vEthernet (nat).
If I turn off Windows Firewall, then it can connect. When I turn on firewall logging, I can see the packets are being dropped.
In network and sharing, my PC appears in the Network / Private Network group and the vEthernet (default switch) and vEthernet (nat) appear in the Unidentified / Private network group. Access type is No network access.
My PC is connected to the internet via a wi-fi router, so I don't want to open up a big fat security hole, but I'd like the container to be able to connect.
I can't specify the IP of the container since that is dynamic.
How should I set things up to let the containers connect to the Sql?
Maybe, Hyper-V is not connected to the local sever. Open Hyper-V Manager and connect to server...

Connecting SQL Server to vs on different networks

I couldn't find an answer so I'm posting it here.
I want to know if it's possible to connect from Visual Studio to SQL Server based only on IP address when the two servers are not in the same domain or workgroup?
I've allowed remote connections and opened port 1433 on both servers with no luck. One server is 2008r2 and the second is 2012r2. The SQL Server version is 2012.
Thank you
It's certainly possible. Since they aren't in the same domain, you won't be able to use windows authentication. But you can use a SQL login.
I believe this is a duplicate question of:
Connect to SQL Server through IP address
That shows you other steps to check for answering by IP address only.

Windows 7 remote desktop connection conflict with FTP Serve?

Today I was connecting to another computer using Windows 7 remote desktop connection and I just setted up a IIS FTP server on this computer. Then I changed the inbound rule of windows 7 firewall to allow FTP service. After finishing that, I lost connection with the computer and could not connect to it using Remote Desktop Connection. Why will this happen?
I know another solution for this problem on OnlineVNC basis. OnlineVNC it is a remote desktop with
embeded FTP server inside which does not conflict each other. Very easy to set up and fast. Maybe it will be help full for you.
http://www.onlinevnc.com/support/configuring-ftp-based-file-transfer.html

SOA suite with Remote DB server

I have the Oracle client, weblogic and the SOA suite 11g installed on a Win 7 machine. The Oracle DB is on a server 2008.
I have the hardest time connecting to it. The server name is S2008 on port 1521. I used the RCU to install the schema.
I am able to ping the server. Could someone please help me out in getting this connected? I have not done this configuration before.
Thank you.
This is more of a database concern, not WebLogic.
The simplest thing to do is to confirm you can telnet to port 1521 from the WebLogicmachine (telnet 1521). If this cannot connect, it is either a firewall issue or the TNS listener is not running on port 1521. Check to make sure that port 1521 is opened on the Database host and then try again.
Also, try connecting outside of WebLogic to remove a variable from the problem. This would be easier/faster anyway. Try using SQL developer to connect to the host/port where the database is running. This will show you the ORA-????? error(s) for the connection attempts without having to go through the connection wizard in the weblogic console

Resources