I'm running SQL Server 2008 Express on a windows 2012... or at least I'm trying to :)
My problem is that I have opened the ports I thought I needed but still I cant manage to connect to the database from Visual Studio. As proof I have a screenshot of my firewall settings:
Everything works fine if I turn the firewall off, but who wants that while connected to the internet?
So I wonder what the heck is wrong? Is that some arbitrary ports that gets blocked? Is that a feature on the server (maybe its the same for 2008?)
Large image: http://bildr.no/view/1280743
SQL Server Express typically installs as a named instance, which by default uses a dynamic port. In most cases, it will use 1433 (but not always). You may want to step through:
http://msdn.microsoft.com/en-us/library/ms177440(v=sql.100).aspx
and see if you can assign the service to a fixed port.
Related
I am using MySQL workbench on windows, which I want to connect to a Node-Red running on the IBM cloud. Since I don't run them on the same server the host 127.0.0.1 and port 3306 does not seem to work. What permissions should I give?
I'm going to make a LOT of assumptions here, because there really isn't enough information in your question.
First assumption, by "running on IBM" you mean that Node-RED is running on the IBM Cloud hosting service.
The short answer is you can not do what you want.
The longer version is that you probably could actually make this work but doing it is a REALLY bad idea.
Second assumption, you are doing this from home (even if you are doing it from a office location the same problems are likely to apply). This means you are connected to a local LAN using RFC 1918 address range (e.g. 192.168.0.x), this means you are behind a router that is performing NAT (Network Address Translation). This means you are going to need to set up portforwarding on the router so that when traffic arrives at the router it will send it on to your Windows machine. How you do this will depend on your router.
Next problem, your broadband probably doesn't have a static IP address which means it will change every time your connection drops. There are work arounds for this using things like Dynamic DNS. But that's too complicated to get into here.
Assuming you get all of that sorted out you still have the problem that you have now exposed your mysql database to the internet, so you need to make sure you have enabled all the right security measures to prevent people logging in and at best seeing all your data.
There are 2 much better solutions to this
Run Node-RED on the same machine or at least on the same local network as the database.
Use one of IBM Clouds hosted database solutions, these are a lot easier to connect to a IBM Cloud instance of Node-RED.
If you do not want to open ports to your network I recommend using a free MYSQL remote server
A simple website is https://remotemysql.com
Just take the screenshot of the credentials of your database after registration.
Keep in mind if your database is empty it will get deleted after some time.
My problem looks like this:
A clientele has one, with a proxy, foreclosed network. However, they want to synchronize information (using odbc-connector) with a database server running on there own Linux server. Unfortunately, only very few ports are open and they do not want to open any further ports.
My idea is that I run the database communication over one of the open ports.
Since I've not done something like this so far, and I'm not really got any further with google search. So I was unfortunately not been able to change the default port of the database server in Plesk on e.g. Port 8080.
I'll be very happy about suggestions:
Either via help changing the port OR also over other ideas, how this problem could be solved more easily.
Thank you in advance!
The system in question looks as follows:
MySQL 5.5.55
Php: 5.6
Plesk Onyx 17.0.17
Ubuntu 14.04.5 LTS
I have a Windows 2016 server instance running a node.js website on Google Cloud Engine (please don't ask why).
The node.js app does this:
var server = http.createServer(app);
server.listen(3000);
which, according to the node documentation, listens on every interface.
And indeed, if I connect to the 10.132.x.x address from there, I do see the website.
However, it seems that the port is blocked by the firewall for outside connections.
So I created a new firewall rule which allows tcp:3000 for instances tagged properly. But that doesn't seem to work.
Do I need to restart my instance? Or do anything else?
Ah, silly me. There is also a firewall on the windows instance itself.
I'm trying to setup a few minecraft servers for my kids and have installed everything and technically the servers are running but we can't connect ... From what I've found searching around it seems like you potentially have to do some port forwarding to ensure things flow through. I've already got a firewall rule setup but this does not seem to be working.
I'm running both a regular minecraft server as well as pocketmine-mp for mobile. Same challenge on both servers ...
Thanks in advance!
I have 2 servers srv-erp1 and srv-erp3. I made them mirror on each other. All setup is done by lots of tutorials and examples.
But when I call
ALTER DATABASE MIRROR_TEST SET PARTNER = 'TCP://srv-erp3:5022'
It`s response is:
The server network address "TCP://srv-erp3:5022" can not be reached or
does not exist. Check the network address name and that the ports for
the local and remote endpoints are operational.
I go to cmd on srv-erp3 and use netstat -an... this port is listening.
I go to cmd on srv-erp1 and use telnet srv-erp3 5022...and its ok to connect.
All firewalls are turned off. The only difference in config of srvrs is that srv-erp1 is on Windows Server 2003 R2 x64, and srv-erp3 is on Windows 2008 R2 x64
What can be the reason of this problem?
Regards, Dmitry.
I have such problem, the solution was using certificates. My problem appeared because my servers were not in one domain.