Jump to content

Cannot access server on port 80


barasingha

Recommended Posts

barasingha

FreeBSD 10.2-RELEASE

Ebmy-Server 3.0.5821 in a jail.

 

When I switch the port to port 80, emby fails to start

$ cat unhandled_4e18ab6d-951b-4da9-9289-1dd25645ca99.txt
One or more errors occurred.
System.AggregateException
  at System.Threading.Tasks.Task.WaitAll (System.Threading.Tasks.Task[] tasks, I       nt32 millisecondsTimeout, CancellationToken cancellationToken) <0x77b5d0 + 0x006       93> in <filename unknown>:0
  at System.Threading.Tasks.Task.WaitAll (System.Threading.Tasks.Task[] tasks, I       nt32 millisecondsTimeout) <0x77b580 + 0x00030> in <filename unknown>:0
  at System.Threading.Tasks.Task.WaitAll (System.Threading.Tasks.Task[] tasks) <       0x77b540 + 0x0001e> in <filename unknown>:0
  at MediaBrowser.Server.Mono.MainClass.RunApplication (MediaBrowser.Server.Impl       ementations.ServerApplicationPaths appPaths, ILogManager logManager, MediaBrowse       r.Server.Startup.Common.StartupOptions options) <0xe9470 + 0x00444> in <filename        unknown>:0
  at MediaBrowser.Server.Mono.MainClass.Main (System.String[] args) <0x12890 + 0       x00249> in <filename unknown>:0
InnerException: System.Net.Sockets.SocketException
Access denied
  at System.Net.Sockets.Socket.Bind (System.Net.EndPoint local_end) <0x778db0 +        0x0010d> in <filename unknown>:0
  at SocketHttpListener.Net.EndPointListener.CreateSocket () <0x7667b0 + 0x000be       > in <filename unknown>:0
  at SocketHttpListener.Net.EndPointListener..ctor (ILogger logger, System.Net.I       PAddress addr, Int32 port, Boolean secure, System.Security.Cryptography.X509Cert       ificates.X509Certificate2 cert) <0x766570 + 0x001ff> in <filename unknown>:0
  at SocketHttpListener.Net.EndPointManager.GetEPListener (ILogger logger, Syste       m.String host, Int32 port, SocketHttpListener.Net.HttpListener listener, Boolean        secure) <0x7769f0 + 0x003b0> in <filename unknown>:0
  at SocketHttpListener.Net.EndPointManager.AddPrefixInternal (ILogger logger, S       ystem.String p, SocketHttpListener.Net.HttpListener listener) <0x7763a0 + 0x000e       0> in <filename unknown>:0
  at SocketHttpListener.Net.EndPointManager.AddListener (ILogger logger, SocketH       ttpListener.Net.HttpListener listener) <0x775e10 + 0x00182> in <filename unknown       >:0

I have to edit the xml to gain access again.

 

I can open port 80 and communicate manually:

root@emby1:/var/db/emby-server/logs # nc -l 80
Hello from the host!
Goodbye from the host.
root@emby1:/var/db/emby-server/logs #

I believe the problem may be a permissions issue with the emby user and group.  Does anyone know what options I have to make this work without giving emby root access to everything?

 

Thanks,

barasingha

 

PS.  I seem to have alot of image issues too, but one thing at a time.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...