Thursday, July 24, 2014

Arduino and the web: Part 2

Allow your Arduino to be accessible from outside of your network

 

In an earlier post, here, I talked about port forwarding a request through the arduino ethernet shield. In this post I will breifly talk about how to port forward a request to an arduino yun through a server set up on a network.

This was surprisingly easy to do after struggling with it the first time around. I folowed the directions in this article: How to put your WampServer online.(This assumes that WampServer is already set up, see part 1.)

A couple of points though.
1) On the website it says to use port 8081 in the private and public port. I used port 8080 instead and it worked for me. Also, my router, says internal and external ports rather than public/private.

2) If you open the http.config file with textpad it is a jumbled mess. Instead I searched for the .config file in the Wamp directory and used Geany editor to make the changes, (ctrl + F to find the keywords needed.) 

3) Search Google for your public IP. To make sure it works find a computer not connected to your network...or turn off your phones wifi and put in your public ip and the port -> 12.345.6.7:8080


No comments:

Post a Comment