Netduino home hardware projects downloads community

Jump to content


The Netduino forums have been replaced by new forums at community.wildernesslabs.co. This site has been preserved for archival purposes only and the ability to make new accounts or posts has been turned off.
Photo

Setting up NP2 internet for global access?

networking ethernet np2

  • Please log in to reply
2 replies to this topic

#1 Verdris

Verdris

    Advanced Member

  • Members
  • PipPipPip
  • 128 posts
  • LocationReno, NV

Posted 18 April 2013 - 09:36 PM

Hi all,

 

I got the NP2 Webserver Hello World example up and running along with some code for NTP. However, I seem to only be able to access my devices from my internal campus network. This isn't so much of a problem for certain projects, but I'd like to be able to make my NP2 webservers globally available. I want someone in Siberia to be able to see the status of an instrument running in Guam. Is this possible? How would I go about this? I know next to nothing about http protocols and am completely new at coding for internet stuff.



#2 emg

emg

    Advanced Member

  • Members
  • PipPipPip
  • 129 posts

Posted 18 April 2013 - 10:05 PM

Guam, cool! I Hafa Adai! (I lived there for a few years)

 

Will you be in control of the network the NP2 is attached to on Guam? Also, is the router on Guam configured with a static IP address from their ISP? If so, you will need to port forward on your router to the internal IP address you assigned to your NP2. You can pick any arbitrary port number but your will need to listen/serve the same port from the NP2 and forward on your router to the internet. From Siberia, you can then access the NP2 by http://xxx.xxx.xxx.xxx:port/page.html where xxx is the public IP address of the router in Guam and :port is the port you have forwarded. (assuming you don't use the default http port 80)

 

If the router on Guam is a dynamic IP address it becomes more difficult. If the network router on Guam is out of your control (campus, business, etc) you will not be able to see the NP2 from outside the network.

 



#3 sebswed

sebswed

    Advanced Member

  • Members
  • PipPipPip
  • 45 posts
  • LocationSweden

Posted 19 April 2013 - 04:12 AM

Hello Verdris

 

I use Dynamic DNS (DDNS) to have my Netduino +2 accessible over the internet. If you have a D-Link router/modem you are alowed to create one for free (for example MyName.dlinkddns.com). That you than also specify in your modem/router with port 80 forwarding to the ip address that your router assigned to your netduino. Than you can access your netduino from all over the world by going to MyName.dlinkddns.com


Netduino Plus 2 (v4.2.2.2)






Also tagged with one or more of these keywords: networking, ethernet, np2

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

home    hardware    projects    downloads    community    where to buy    contact Copyright © 2016 Wilderness Labs Inc.  |  Legal   |   CC BY-SA
This webpage is licensed under a Creative Commons Attribution-ShareAlike License.