Azure Hybrid Connections to onsite SQL Server with a Linux PHP WebApp - sanity check - azure-hybrid-connections

Okay, I feel I'm pretty good at problem solving but I'm stumped! I can't get connectivity to the SQL Server via the Hybrid Connector or directly.
System Overview:
1x Linux PHP Based WebApp with all the correct SQLSRV libraries working (using a azure sql server I can get the webapp working fine, but need to use our onsite server for the time being)
1x Onsite SQL Server (win2012, sql version 11.0.7), which has an external static IP (and FQDN) and exposed to the internet on port 1433 (I can use SMSS from an external IP to connect and manage the server - with that IP added to the firewall that is..)
So firstly - trying to connect via PHP / SQLSRV directly to the server doesn't work (even if I allow all internet traffic to connect to the server via the firewall) - which is odd as SMSS works. The server is Win2012 and TLS 1.2 is enabled - but I get Error code 0x2746. Investigating this, I think its something to do with openssl 1.1.1 and SQL Server still only using SHA1 - I modified the openssl.cnf file to SECLEVEL=1 - still not dice.
So I've proceeded to setup the Hybrid connections using port 1433 using internal machine name say 'SERVER01' for the endpoint - everything says connected on both the azure hybrid screen and also on the connection manager on the server. I can telnet from SERVER01 to the service endpoint bus and from SSH on the WebApp I can ping the hybrid end point 'SERVER01:443'
But trying to connect to the database from PHP using SQLSRV it timeouts.
Anyone got any pointers? I'm thinking its due to the old onsite server being too old (Win2012) and the SSL SHA1 issues.

Related

Hosting gRPC server on Windows Server 2016

I am currently working my way into gRPC. So far, I've created a gRPC server which runs on my machine as a service and listens on localhost. This works fine, when starting the client I get the expected results. Both client and server are targeting .Net framework 4.5.1.
However, I want to run the server as a service on a Windows Server 2016 and access it via a client from machines in the same domain.
All tutorials and examples I've found only show how to do it on localhost, which doesn't work when connecting to another machine. Can someone point me in the right direction of a guide or explain to me what to do to make the connection?

Trying to setup Neo4j 3.2.0 in ubuntu server

I am trying to setup Neo4j version 3.2.0 in the ubuntu server 14.04.2 LTS
Downloaded the tar and extracted the folder, edited the config file to update the port to 4444, for the time being disabled the bolt connector, listen_address to 0.0.0.0 for the http connector, authentication also disabled just to get started.
bolt connector is updated with the port 7687 even though it is disabled as i was trying earlier with it enabled.
Now when i try to connect to the http://serverip:4444/browser, it says Database access not available and shows me the login screen with host prefilled bolt://serverip:7687
Also I see this error on the console window
WebSocket connection to ws://serverip:7687/
failed: Error in connection establishment:
net::ERR_CONNECTION_TIMED_OUT
Dont understand the issues here, please help me out. I am not sure why is it trying to do a WS to the port assigned to the bolt, when it is disabled at the first place.
Regards
There's a bit of juggling going on for HTTP connector support between the browser and the driver being used, a handoff which isn't complete, and the state of things is the browser is only supporting bolt connections right now.
The javascript bolt driver is being upgraded to handle http connections, I think, so you may need to wait until the next 3.2.x release to use the http connector again.
I think this issue should be tracking it.

Why my WAMPSERVER can't work?

I have some problem with my WAMP server and I downloaded from the official website. I wanted to use only for the local server (for Chrome), without WordPress, only for HTML/CSS/JS files. The servers (Apache, PHP and MySql) and the localhost webpage has оpen, but when I try to open my projects it's giving me the error:
This webpage is not available ERR_NAME_NOT_RESOLVED: and in details:
The server at problem%201 can't be found, because the DNS lookup
failed. DNS is the network service that translates a website's name to
its Internet address. This error is most often caused by having no
connection to the Internet or a misconfigured network. It can also be
caused by an unresponsive DNS server or a firewall preventing Google
Chrome from accessing the network.
P.S. OS: Windows 8.1 Pro N

remote access to apache web server mac os X

finally got apache web server up and running.(plus mysql) but I can only access it on the on the host computer. does anyone know how to access the apache server remotely?
My main goal is to access mobile web pages via apache server with an iPad for development / troubleshooting issues.
First - check the Error Log - it may tell you about config or firewall issues.
Secondly - check with 'lsof' or 'netstat -na' if Apache is listening on * (all interfaces) or on the IP address you expect it is listening.
If that is not the case - read up on the 'Listen' directive in httpd.conf.
If that is the case - then an IP issue outside apache is blocking things. Check the firewall, check that you can ping this address, check if you can 'telnet' to this address/port (to rule out your browser going through some proxy).
And take things from there.
Dw.

Want to connect to local database from java application on server

I have a local Ms access database in a local computer connected with internet with dynamic IP. And I have a java web application running on web server. How can I connect to Database in local pc with dynamic ip from the java application running on server
You would have to serve it from the client machine using either a local web server or a VPN tunnel.
Possibly a better idea (I mean, anything sounds better than connecting to a client-side DB, right?) would be to have the client upload the database (depending on the size) and then connecting to the server-side copy.

Resources