Connection between Node-Red running in IBM Cloud and sqlite in localsystem - sqlite

I am new to Node-Red and SQL Lite, I am trying to connect my Node-Red app running in IBM cloud to the sqlite running in my local pc, I tried to connect by giving the database location like "C:\sqlite\db\SmartBar_DB.db", but is not working.

If Node-RED is running in the IBM Cloud then it has absolutely no access to files on your local computer.
You will not be able to connect from the IBM Cloud application to anything on your local computer.

Related

Accessing Database Tables on Remote Machine from Local Machine Using R

Basically, I have a local laptop and a remote machine. My database is on the Remote machine which I access through Remote Desktop Connection.I can ofcourse run R tasks on the remote machine itself. Now I wonder if I can connect the remote machine from my local R and run the tasks on the remote machine while I still call these things in my local machine... that is I don't need to open R or type/source R codes on the remote machine.Can also live with typing R codes to access the Remote Database.Also saving the files on my Local machine.
Is there any other method to download those database tables on my local machine???

Remote Desktop into Service Fabric local cluster

I'm trying to debug an issue with a Service Fabric node, and I want to RDP into the node in order to read internal log data.
However, I'm deploying to a local cluster, and I access my development machine via RDP. If I try to RDP into localhost from my development machine I of course see you already have a console session in progress, I'm already connected to this machine...
How can I remote desktop into a locally-running service fabric node when RDP is running on the host machine?

Connect R to SQL server in a Remote AWS EC2 Server

I’m trying to make queries in R using a SQL Server database hosted in a EC2 Virtual Machine.
This is a Windows Machine and SQL Server has a Windows identification.
I tried with dbConnect, odbcDriverConnect and DBI::dbConnect commands, but I am not be able to make the connection.
Could do you please help me?
Thanks in advance!

Connecting to database in asp.net website by Wp8 app

I created localhost website in asp.net in Visual Studio and i added there a MSSQL connection.
My problem is that I created an app for windows phone 8 but i dont know how to connect this app with database which is on this website.
Can you help me with this?
First of all: your Windows Phone app can't connect to a SQL Server database, so you'll have to create an API.
Since you're using ASP.NET, I suggest to have a look at Web API. In short: you'll have several URL endpoints which return json/xml to your Windows Phone app. It's your job to query the database and return a single item/list of items in the controller of that URL endpoint (this sentence will make sense if you read into creating a Web API).
Next task is connecting to this API. Normally you would host it on a public url, so your phone device can connect to it (a phone doesn't know about your pc's localhost). If you want to use localhost with the emulator for testing, you'll have to execute the tasks mentioned in the quote below as this doesn't work out of the box.
When you create a WCF web service in Visual Studio, by default the
service is hosted in IIS Express and only accepts connections at
http://localhost/. Apps that target Windows Phone OS 7.1 can connect
to the development computer as localhost because the Windows Phone 7.1
emulator uses the network connection of the development computer. The
Windows Phone 8 Emulator, however, configures itself as a separate
device on the network. As a result, an app running on the Windows
Phone 8 Emulator can’t connect to the development computer as
localhost. Before you can connect successfully from the emulator to
the local web service, you have to make two changes:
You have to configure the local web service and web server to accept connections from other devices on the network.
You have to configure the service reference in the Windows Phone app to connect to the service by using the IP address of the development
computer on which the service is running.
Source: https://msdn.microsoft.com/en-us/library/windows/apps/jj684580(v=vs.105).aspx

Accessing web server running in android emulator from local machine

I m trying to access a web server running on android emulator from my machine. I know the reverse i.e how to access the server running on local machine from android emulator ( using 10.0.2.2) . I have searched a lot about this stuff but couldn't get any relevant information.
When the server is up and running inside the emulator I can access it using 10.0.2.15:portNumber. I can do a telnet to the emulator but I wonder how that will be helpful.
Any suggestions on how to get connect to web server running inside the emulator.
Thanks
adb forward tcp:[pcPort] tcp:[androidPort]

Resources