connection status: unreachable address

Related to the Portal
User avatar
lnevo
Posts: 5430
Joined: Fri Jul 20, 2012 9:42 am

Re: connection status: unreachable address

Post by lnevo »

No. The external ip address is your routers ip on the internet side.

The next step would be on your router to make sure forwarding is setup to forward to the IP of your wifi module.

If you point your phone to the ip of your wifi module does it work when your on your wifi network?
lurch
Posts: 43
Joined: Fri Nov 15, 2013 10:02 pm

Re: connection status: unreachable address

Post by lurch »

Yes the phone app works on wifi to do like feeding mode but not on mobile internet
User avatar
lnevo
Posts: 5430
Joined: Fri Jul 20, 2012 9:42 am

Re: connection status: unreachable address

Post by lnevo »

Right. Your forwarding isn't good. Search for your router and how to setup port forwarding on google..
lurch
Posts: 43
Joined: Fri Nov 15, 2013 10:02 pm

Re: connection status: unreachable address

Post by lurch »

that i s where I'm stuck I've been looking at the online tutorials and I've got it to where the IP address works for port forwarding but I still can't get it to work for PortalI'm trying to put in my computer's IP address and I tried putting in the Wifi ipI can't seem to get the port forwarding to work on anything but the computer's IP address
User avatar
lnevo
Posts: 5430
Joined: Fri Jul 20, 2012 9:42 am

Re: connection status: unreachable address

Post by lnevo »

You dont put either ...you put the external ip. Whatever you get when you try whatsmyip.org
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: connection status: unreachable address

Post by rimai »

Do you happen to have 2 routers? One for the internet and one for wifi?
Roberto.
lurch
Posts: 43
Joined: Fri Nov 15, 2013 10:02 pm

Re: connection status: unreachable address

Post by lurch »

Yes I do. Our modem went down and when we bought a new one it had wifi also so I have 2 wifi options in my house
User avatar
lnevo
Posts: 5430
Joined: Fri Jul 20, 2012 9:42 am

Re: connection status: unreachable address

Post by lnevo »

You'll need to setup the forwarding on both then. THe first one forwards to the second and the second forwards to the wifi module. A bit tricky :)
lurch
Posts: 43
Joined: Fri Nov 15, 2013 10:02 pm

Re: connection status: unreachable address

Post by lurch »

I think I need to remove one and see if that helps
lurch
Posts: 43
Joined: Fri Nov 15, 2013 10:02 pm

Re: connection status: unreachable address

Post by lurch »

removed extra wifi and set up port forwarding on router. the port forwarding test web sight shows port 2000 is open but when I go to portal it still says "connection status: unreachable address"
lurch
Posts: 43
Joined: Fri Nov 15, 2013 10:02 pm

Re: connection status: unreachable address

Post by lurch »

when doing the port forwarding test should I be using current ip address or the wifi adapter address?
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: connection status: unreachable address

Post by rimai »

Your controller has never sent data to the server.
Make sure you are not using a security key in the Portal. If you are, make sure you edit your code to match the same key you entered in the portal.
If enabled, please make sure to change the Portal() function in your INO code. It should follow this format:
ReefAngel.Portal("username","key");
Roberto.
lurch
Posts: 43
Joined: Fri Nov 15, 2013 10:02 pm

Re: connection status: unreachable address

Post by lurch »

do I do this on the portal site or on the controller
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: connection status: unreachable address

Post by rimai »

If you enable the security key in the portal, you must also change your code to match the same key you entered in the portal.
If you disable it in the portal, then you don't need to change anything in the code.
Roberto.
User avatar
lnevo
Posts: 5430
Joined: Fri Jul 20, 2012 9:42 am

Re: connection status: unreachable address

Post by lnevo »

The ip on the portal needs to be your external ip. Not the wifi module, not the computer. Its your internet provider ip on the closest router to the internet. http://whatsmyip.org
lurch
Posts: 43
Joined: Fri Nov 15, 2013 10:02 pm

Re: connection status: unreachable address

Post by lurch »

so on the reef angel web site I can adjust the portal settings
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: connection status: unreachable address

Post by rimai »

Go to the Portal and click on Portal Settings.
Roberto.
lurch
Posts: 43
Joined: Fri Nov 15, 2013 10:02 pm

Re: connection status: unreachable address

Post by lurch »

still no luck made changes in portal still not working
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: connection status: unreachable address

Post by rimai »

Ok, I don't think you understood what I said.
If you enable the security key in the portal, you MUST change your code to match the same key you have entered in the portal settings.
If enabled, please make sure to change the Portal() function in your INO code. It should follow this format:
ReefAngel.Portal("username","key");
So, you MUST change your code to be like this:

Code: Select all

ReefAngel.Portal("lurch","mykey");
Where mykey is the same thing you set in the portal settings.
If the keys don't match, the server rejects your data and it never saves it.
If your code is like this:

Code: Select all

ReefAngel.Portal("lurch");
And you set a portal key, you will never get it to work. You should disable the portal key to make it work or change it to match the portal key like the code posted above.
Roberto.
lurch
Posts: 43
Joined: Fri Nov 15, 2013 10:02 pm

Re: connection status: unreachable address

Post by lurch »

turned off password but still cant use portal
lurch
Posts: 43
Joined: Fri Nov 15, 2013 10:02 pm

Re: connection status: unreachable address

Post by lurch »

Thank you its working. sorry it took me so many times to figure it out I'm really thankfull for you help
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: connection status: unreachable address

Post by rimai »

Yay :)
Roberto.
lurch
Posts: 43
Joined: Fri Nov 15, 2013 10:02 pm

Re: connection status: unreachable address

Post by lurch »

not working again. very disappointed in my purchase
lurch
Posts: 43
Joined: Fri Nov 15, 2013 10:02 pm

Re: connection status: unreachable address

Post by lurch »

Is there a way to know if my wifi adapter is still sending signal? Now when I try to set up port forwarding my computer does not show the reef angel. The blue light is still blinking but my phone app does not work either
User avatar
lnevo
Posts: 5430
Joined: Fri Jul 20, 2012 9:42 am

Re: connection status: unreachable address

Post by lnevo »

Blue light means no connection. You want green light. Try to use the wifi setup again.
lurch
Posts: 43
Joined: Fri Nov 15, 2013 10:02 pm

Re: connection status: unreachable address

Post by lurch »

sorry I'm very frustrated it is a green light not blue.
User avatar
lnevo
Posts: 5430
Joined: Fri Jul 20, 2012 9:42 am

Re: connection status: unreachable address

Post by lnevo »

You need to get intimate with your router. Most likely your router gave it a different ip address. You need to find on your router how to "reserve" the ip address so it doesn't change. The problem if it changes is 1) you don't know what it changed to and 2) it could mess up your port forwarding.

I know its frustrating, this part takes really learning a bit of networking. This process is no different than with any other controller and I've seen plenty of threads for the same issues with apex too.

We'll help you get it figured out, try not to let the technical issues get you worked up.
lurch
Posts: 43
Joined: Fri Nov 15, 2013 10:02 pm

Re: connection status: unreachable address

Post by lurch »

I think your right I think I need a reserve ip address so next to call internet provider thank you.
Post Reply