Set port to 80 - now no access.. Case: 18926335

Get answers to questions about ReadyNAS Photos II.

Set port to 80 - now no access.. Case: 18926335

Postby Showbiz » Fri Jul 06, 2012 10:05 am

OK, so I have been wondering how to redirect my own domain name to the ReadyNAS box for a while and have been using a solution based on "http://[DYNDNS_ManagedByRouter]:8086/photos2" which has been working. Apart from the fact that my office blocks 8086, so I can't get access from there to show people.. I decided it made sense to change the Photos II settings so it ran on port 80 - clever, I thought, seeing as all web traffic works on 80. Photos II seemed happy with the arrangement and let me change the port but now I have a problem - I can't access the settings or albums in Photos II or even the Duo V2 dashboard..

I realise the error I have made (80 is obviously reserved for the control panel stuff) but how do I change the Photos II port back to 8086 without starting the box from scratch? (There are lots of photos already shared on it and I've been through that twice already - it's very tedious and the whole box is surprisingly hard work for someone who's worked in IT for over 10 years!) Can I change it though MySQL or by SSH or something?

Also, why on Earth would Photos II let me do such a thing?! Maybe I'll just stop using it until it actually feels like a finished, polished product :(

TIA, James
Showbiz
ReadyNAS Newbie
 
Posts: 4
Joined: Fri Jul 06, 2012 9:53 am
ReadyNAS: Duo v2

Re: Set port to 80 - now no access..

Postby readysecure1985 » Fri Jul 06, 2012 10:15 am

I just grabbed a Pro2 and I will be attempting to recreate and see if there is an easy way to fix this for you.
NETGEAR ReadyNAS Support
Contact Information: http://support.netgear.com/general/contact/default.aspx
(US/Canada) 1-888-NETGEAR or 1-855-PRO-SAFE / (UK) +44(0)8448 75 4000
readysecure1985
NETGEAR Support
 
Posts: 758
Joined: Wed Jul 13, 2011 10:20 am
ReadyNAS: RN516

Re: Set port to 80 - now no access..

Postby Showbiz » Fri Jul 06, 2012 10:28 am

Quick response, thanks, I look forward to hearing from you :)
Showbiz
ReadyNAS Newbie
 
Posts: 4
Joined: Fri Jul 06, 2012 9:53 am
ReadyNAS: Duo v2

Re: Set port to 80 - now no access..

Postby HERBIEO » Fri Jul 06, 2012 10:48 am

What about trying OS reinstall as that leaves all data intact and only resets network settings and admin password to defaults.
http://www.readynas.com/kb/faq/boot/how ... _boot_menu
Edit not sure if this will reset the port back to 8086 but worth a try as it only takes 5 minutes to do.
ReadyNas Duo v2 ------ Firmware: RAIDiator 5.3.7
UPS ---------------------- APC Back-UPS 550G-UK
Network: --------------- Netgear WNDR4500 Router - TP-Link-SG1005D Gigabit Switch
OS: ---------------------- Windows 7 Ultimate (64-bit)
CPU Info: --------------- Intel(R) Core(TM) i7 CPU 920 @ 3239.0 MHz
Memory (RAM): -------- 6136 MB
Motherboard: --------- ASUSTeK Computer INC. Rampage II Extreme
Network Adapters: -- Marvell Yukon 88E8056 PCI-E Gigabit Ethernet Controller
User avatar
HERBIEO
Advanced ReadyNAS Expert
 
Posts: 522
Joined: Wed May 23, 2012 8:58 am
Location: UK
ReadyNAS: Duo v2

Re: Set port to 80 - now no access..

Postby readysecure1985 » Fri Jul 06, 2012 11:02 am

HERBIEO wrote:What about trying OS reinstall as that leaves all data intact and only resets network settings and admin password to defaults.
http://www.readynas.com/kb/faq/boot/how ... _boot_menu
Edit not sure if this will reset the port back to 8086 but worth a try as it only takes 5 minutes to do.

OS reinstall will only reset the network adapters, not the add-in information.
My lab is taking longer than expected, ran into some difficulties -- old firmware on box and such.
Upgrading it to 4.2.21 and then will proceed to work on the issue.
NETGEAR ReadyNAS Support
Contact Information: http://support.netgear.com/general/contact/default.aspx
(US/Canada) 1-888-NETGEAR or 1-855-PRO-SAFE / (UK) +44(0)8448 75 4000
readysecure1985
NETGEAR Support
 
Posts: 758
Joined: Wed Jul 13, 2011 10:20 am
ReadyNAS: RN516

Re: Set port to 80 - now no access..

Postby readysecure1985 » Fri Jul 06, 2012 11:38 am

I did fix the issue.
On the OS partition, there exists a configuration file for the photos.
/etc/frontview/apache/addons/READYNAS_PHOTOS_II.conf
In there, I was able to modify the port number, save, and reboot the ReadyNAS. I was then able to access FrontView as well as the Photos.
If you have SSH access, modify this file and change it from 80 back to 8086. It does appear 2 times.

If you don't have access to SSH, we will need to put it into tech support mode and I'll fix it for you. Let me know via thread or PM that you've put your device into tech support mode. http://www.readynas.com/kb/faq/boot/how ... _boot_menu
NETGEAR ReadyNAS Support
Contact Information: http://support.netgear.com/general/contact/default.aspx
(US/Canada) 1-888-NETGEAR or 1-855-PRO-SAFE / (UK) +44(0)8448 75 4000
readysecure1985
NETGEAR Support
 
Posts: 758
Joined: Wed Jul 13, 2011 10:20 am
ReadyNAS: RN516

Re: Set port to 80 - now no access..

Postby Showbiz » Fri Jul 06, 2012 4:11 pm

All fixed (remotely), thanks readysecure1985, can't fault the service one bit :)
Showbiz
ReadyNAS Newbie
 
Posts: 4
Joined: Fri Jul 06, 2012 9:53 am
ReadyNAS: Duo v2

Re: Set port to 80 - now no access.. Case: 18926335

Postby readysecure1985 » Fri Jul 06, 2012 4:21 pm

No problem!
Glad to help.
NETGEAR ReadyNAS Support
Contact Information: http://support.netgear.com/general/contact/default.aspx
(US/Canada) 1-888-NETGEAR or 1-855-PRO-SAFE / (UK) +44(0)8448 75 4000
readysecure1985
NETGEAR Support
 
Posts: 758
Joined: Wed Jul 13, 2011 10:20 am
ReadyNAS: RN516

Re: Set port to 80 - now no access.. Case: 18926335

Postby mdgm » Fri Jul 06, 2012 5:08 pm

As well as port 80 (HTTP) being reserved for the Dashboard so is port 443 (HTTP/S). Best to stick to the default port. If you have multiple ReadyNAS units with separate Photos II installations you wish to use then use e.g. 8087, 8088 etc. for Photos II on the additional units.

This problem of selecting a reserved port has been encountered before. I agree that it would be nice if a check was added to stop users from selecting a port reserved for the Dashboard. Having said that in the rare cases this issue is encountered it's very easy to remotely fix.
Useful links: My ReadyNAS Gear|FAQ|Hardware Compatibility List|Docs: Setup Guide, Manual|Downloads|Unofficial Tips|GPL|MDGM on Twitter|MDGM's Unofficial Guides
NB: A ReadyNas is not an excuse not to have a backup. Fire, theft, multiple disk failures, other hardware failure, floods, user negligence etc. can all result in loss of data.
How we users can contact NETGEAR Technical Support | Australia: 1300 361 254 / Other Numbers|Online Submission
Unofficial Guide for Moving from Sparc ReadyNAS to x86 ReadyNAS|Using Gmail with the ReadyNAS|XRAID Volume Size Calculator
User avatar
mdgm
ReadyNAS Enthusiast
 
Posts: 28599
Joined: Tue Feb 17, 2009 9:34 pm
Location: Down Under
ReadyNAS: RN312

Re: Set port to 80 - now no access.. Case: 18926335

Postby HERBIEO » Sat Jul 07, 2012 4:33 am

mdgm wrote:This problem of selecting a reserved port has been encountered before. I agree that it would be nice if a check was added to stop users from selecting a port reserved for the Dashboard. Having said that in the rare cases this issue is encountered it's very easy to remotely fix.

Maybe something readysecure1985 can look into for later firmware releases a simple check and default it back if reserved port is chosen.
ReadyNas Duo v2 ------ Firmware: RAIDiator 5.3.7
UPS ---------------------- APC Back-UPS 550G-UK
Network: --------------- Netgear WNDR4500 Router - TP-Link-SG1005D Gigabit Switch
OS: ---------------------- Windows 7 Ultimate (64-bit)
CPU Info: --------------- Intel(R) Core(TM) i7 CPU 920 @ 3239.0 MHz
Memory (RAM): -------- 6136 MB
Motherboard: --------- ASUSTeK Computer INC. Rampage II Extreme
Network Adapters: -- Marvell Yukon 88E8056 PCI-E Gigabit Ethernet Controller
User avatar
HERBIEO
Advanced ReadyNAS Expert
 
Posts: 522
Joined: Wed May 23, 2012 8:58 am
Location: UK
ReadyNAS: Duo v2

Re: Set port to 80 - now no access.. Case: 18926335

Postby Showbiz » Sat Jul 07, 2012 8:07 am

readysecure1985 has already passed the issue up the chain - I hope he doesn't mind me posting what he told me in PM;

"I did alert to our L3 guys about being able to change to port 80 and they'll contact whomever is in charge for that. The configuration file for the photos is different than the one than the one that shows up in frontview; the scripts look like they should have updated both."

So there we go, should be something that's addressed in a later release I guess.

He also gave me a list of ports that I should steer clear of too - I really should know better!
Showbiz
ReadyNAS Newbie
 
Posts: 4
Joined: Fri Jul 06, 2012 9:53 am
ReadyNAS: Duo v2

Re: Set port to 80 - now no access.. Case: 18926335

Postby HERBIEO » Sat Jul 07, 2012 8:16 am

Well at least it as exposed a problem that can be fixed, maybe readysecure1985 can put that port list in the faq's section it would be useful for anyone wanting to know which ports not to use.
ReadyNas Duo v2 ------ Firmware: RAIDiator 5.3.7
UPS ---------------------- APC Back-UPS 550G-UK
Network: --------------- Netgear WNDR4500 Router - TP-Link-SG1005D Gigabit Switch
OS: ---------------------- Windows 7 Ultimate (64-bit)
CPU Info: --------------- Intel(R) Core(TM) i7 CPU 920 @ 3239.0 MHz
Memory (RAM): -------- 6136 MB
Motherboard: --------- ASUSTeK Computer INC. Rampage II Extreme
Network Adapters: -- Marvell Yukon 88E8056 PCI-E Gigabit Ethernet Controller
User avatar
HERBIEO
Advanced ReadyNAS Expert
 
Posts: 522
Joined: Wed May 23, 2012 8:58 am
Location: UK
ReadyNAS: Duo v2

Re: Set port to 80 - now no access.. Case: 18926335

Postby readysecure1985 » Mon Jul 09, 2012 9:01 am

HERBIEO wrote:Well at least it as exposed a problem that can be fixed, maybe readysecure1985 can put that port list in the faq's section it would be useful for anyone wanting to know which ports not to use.

The port list I posted in the PM was a standard list of ports used by the ReadyNAS, specifically SMB, AFP, FTP, HTTP/s, RSYNC, NFS... basically any protocol you would be able to able from Standard File Protocols of Frontview.
NETGEAR ReadyNAS Support
Contact Information: http://support.netgear.com/general/contact/default.aspx
(US/Canada) 1-888-NETGEAR or 1-855-PRO-SAFE / (UK) +44(0)8448 75 4000
readysecure1985
NETGEAR Support
 
Posts: 758
Joined: Wed Jul 13, 2011 10:20 am
ReadyNAS: RN516

Re: Set port to 80 - now no access.. Case: 18926335

Postby HERBIEO » Mon Jul 09, 2012 9:13 am

Thanks for info readysecure1985
ReadyNas Duo v2 ------ Firmware: RAIDiator 5.3.7
UPS ---------------------- APC Back-UPS 550G-UK
Network: --------------- Netgear WNDR4500 Router - TP-Link-SG1005D Gigabit Switch
OS: ---------------------- Windows 7 Ultimate (64-bit)
CPU Info: --------------- Intel(R) Core(TM) i7 CPU 920 @ 3239.0 MHz
Memory (RAM): -------- 6136 MB
Motherboard: --------- ASUSTeK Computer INC. Rampage II Extreme
Network Adapters: -- Marvell Yukon 88E8056 PCI-E Gigabit Ethernet Controller
User avatar
HERBIEO
Advanced ReadyNAS Expert
 
Posts: 522
Joined: Wed May 23, 2012 8:58 am
Location: UK
ReadyNAS: Duo v2

Re: Set port to 80 - now no access.. Case: 18926335

Postby pmeum » Tue Oct 02, 2012 10:35 am

I get the following result after trying to activate Photos II:

Diagnostic Results
close
OK: All connection tests from ReadyNAS Photos II to UPnP Router and photos.readynas.com site have passed.
OK: Hostname pk_photos is available.
Error: Fail to access Photos II (http://xx.xxx.xxx.xxx:8086) from internet. (error=-2). If you disabled automatic configuration of UPnP router, please make sure port 8086 is forwarded to the NAS.
OK: Successfully found your public IP (xx.xxx.xxx.xxx).

Anyone have ideas how to solve this?
pmeum
ReadyNAS Newbie
 
Posts: 1
Joined: Tue Oct 02, 2012 10:31 am
ReadyNAS: Ultra

Next

Return to ReadyNAS Photos II



Who is online

Users browsing this forum: No registered users and 2 guests