I am working on a project for which I am using MS SQL server and using Windows authentication. I have made the database and HTML page both are connected.
Now I have to connect Arduino to my local server because I want to store the data coming from my sonar sensor into Arduino UNO to my database tables and show it on HTML page.
Arduino is on robot car and database is in my laptop I have to connect them remotely.
I know how to connect Arduino to web server but don't know how to connect to my local server. Arduino command to connect to server is client.connect(ip,port)
or client.connect(url,port)
. But I don't know my IP. My local host server URL is localhost:30154\Home
.
Guide me how can i connect my Arduino UNO to my database.
ìpconfig
on your laptop should tell you what is your IP - YMomblocalhost
by your IP? Have you configured your firewall to let port 30154 open? - YMombipconfig.exe
should NOT show you a number your ISP know about; it's a local IP reachable from any machine on the same LAN as your laptop. - dandavis