localhost mapping issues

This is where you can find the latest ADM official release. Feel free to discuss any questions regarding it here.
Post Reply
User avatar
clinton.hall
Posts: 845
youtube meble na wymiar Warszawa
Joined: Thu May 09, 2013 7:01 pm
Location: New Zealand
Contact:

localhost mapping issues

Post by clinton.hall »

I use Bitvise SSH client to connect to my AS-604T. I then have ClientToServer mapping enabled.
When I map to the destination localhost:8000 I can access the admin page but mapping localhost:5050 will not access CouchPotato's web UI. However mapping 127.0.0.1:5050 does work.

Likewise for CouchPotato and SickBeard to send NZBs to NZBGet and for NZBGet postprocessing (nzbToMedia) back to CouchPotato and SickBeard I must use 127.0.0.1 and not localhost.

After investigating, I noticed that /etc/hosts looks like this:

Code: Select all

::1	localhost
127.0.0.1	localhost
10.1.1.9	AS-604T-EA70
169.254.1.3	AS-604T-EA70
when I test Bitvise using ::1 I can access admin page on port 8000 but cannot access CouchPotato on 5050, but both are accessible when using 127.0.0.1

So I believe the admin page accepts connections on ipv6 whereas CouchPotato, SickBeard , NZBGet (and possibly many other Apps) do not.
Obviously the work-around is to use 127.0.0.1; but would it be possible to change the default order of the ipv6 v ipv4 localhost mapping in /etc/host or is there a way to make the system use both (and not just the first entry)?
AS-604T
3 x ST4000DM0000 (Seagate 4TB) in Raid5
2 GB RAM expansion
AS-302T

Apps (user)
NZBGet - CouchPotato - SickBeard - Git - Python

Apps (maintainer):
NZBGet - BitTorrent Sync - Mylar - LazyLibrarian - Gamez
-Maintenance of Apps acquired from JohhnyFive since ADM2.0:
SABnzbd - CouchPotato - SickBeard - HeadPhones - Subsonic

About Me: http://fockwulf.wix.com/index
User avatar
James.W@AST
Posts: 189
Joined: Wed Jun 06, 2012 12:50 am

Re: localhost mapping issues

Post by James.W@AST »

Hi Clinton,

Thanks a lot for the information : )

I have passed this to our engineers. We will apply this change in future updates!
To Infinity and Beyond!

Friends of My AS-606T: (RAID 5 with WD Black 2TB * 4, WD Red 2TB * 2)
MacBook Air (10.8) & Self-assembled Windows PC (Windows 7)
iPhone 4S (iOS 6) & iPad 2 (iOS 6)
Boxee Box, Logitech Squeezebox Duet
SONY HT-CT150 Sound Bar (Connected directly to the NAS via HDMI)
CISCO Linksys E4200
Post Reply

Return to “[Official] For AS-60X Series”