0
votes

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.

1
Calling ìpconfig on your laptop should tell you what is your IP - YMomb
it tells the ip that is provided by my isp but it does not takes me to my required page whos url is "localhost:30154\Home". i used visual studio 2013 and made c# project using master page. one of these pages has this url "localhost:30154\Home" - Whb sd
have you tried by replacing localhost by your IP? Have you configured your firewall to let port 30154 open? - YMomb
localhost is an alias for your laptop's IP. ipconfig.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

1 Answers

0
votes

localhost = 127.0.0.1

You can use ipconfig in Prompt to check the v4 protocol, which is your ip, but the problem is if the ip is not fixed.

Você pode usar o ipconfig no Prompt para verificar o protocolo v4, qual é o seu ip, mas o problema é se o o ip não for fixo.