Jump to content

Local Host Not working when no local network - (emby server exiting after launch)


Recommended Posts

Posted (edited)
On 19/11/2025 at 21:14, Piperel said:

MediaBrowser.Model.Net.HttpException: MediaBrowser.Model.Net.HttpException: hostname nor servname provided, or not known (www.mb3admin.com:443

The error you pasted originally was most likely to do with Emby Premiere validation and it is very possible that further premiere checks got added.

But you ought to be able to use features that are not dependent on an Emby Premiere subscription when running in offline mode - of course not the Downloads feature which is for offline working with Emby Premiere  - but with the server being on the same device, it ought to be possible to stream server media.

Was there anything in the server log and android app log for the time when you tried http://127.0.0.1 and port 8096 with wifi enabled but not connected? You would have needed to enable debug logging for both the emby server and emby for android app beforehand

I will try and setup some tests with 4.8.11.0 and 4.9.1.90

Edited by sa2000
Posted

If the issue is still that "localhost" doesn't bring up your server page then this, again, is nothing to do with the server.  It is related to network routing on the device.  If the request is never getting to the server, no change in version will have any effect.

Posted (edited)

@ebr@Piperel I have completed my tests between Emby Server 4.8.11.0 and 4.9.2.7 on Android

The issue is that we are now crashing when there is no network. So localhost is not working because Emby Server is no longer running as it only lasts for a few seconds after launch when offline.

This has now been referred to the development team

Edited by sa2000
  • Like 1
Posted (edited)

@PiperelCan you please confirm if your issue is the same as what I had in my tests.

When offline and you launch Emby Server, does it stay up or exit and selecting it shows "Emby Server is starting..." everytime

 

Edited by sa2000
Posted
On 12/3/2025 at 5:19 AM, sa2000 said:

@PiperelCan you please confirm if your issue is the same as what I had in my tests.

When offline and you launch Emby Server, does it stay up or exit and selecting it shows "Emby Server is starting..." everytime

 

The server does crash after a few seconds as you described. 

  • Thanks 1
Posted
3 hours ago, Piperel said:

The server does crash after a few seconds as you described.

Thank you for confirming. So it is not localhost that is no longer working .. but there is not an Emby Server process running to accept the requests when there is no network. An issue that appears to have come in version 4.9.xx of the android Emby Server.

Linking to other forum topic for this: https://emby.media/community/index.php?/topic/144618-emby-server-stops-after-few-seconds-on-android-when-there-is-no-internet/

The issue has been referred to the development team

Posted

Thank you for looking into this, I really appreciative.

  • Thanks 2
HjanecksD03
Posted

I’ve run into this before — usually it’s just the Emby server not actually binding to localhost. A quick restart of the Emby service normally fixes it, but it’s also worth checking that nothing else is already using that port. If you’re on Windows, opening Emby via the tray icon instead of the browser sometimes “wakes” it up too. Simple stuff, but it’s saved me a few headaches.

Posted (edited)
13 minutes ago, HjanecksD03 said:

I’ve run into this before — usually it’s just the Emby server not actually binding to localhost. A quick restart of the Emby service normally fixes it

The title of this topic is misleading. This specific issue is because of the emby server crashing within few seconds of launch on Android if there is no network. So it is not an issue of binding to localhost. I will amend the title now that we know what the issue is

Edited by sa2000
Posted

Hi, we are looking into this. Thanks.

  • Like 1
  • 3 weeks later...
Posted
On 12/8/2025 at 2:59 PM, Luke said:

Hi, we are looking into this. Thanks.

Thank you so much!

  • Thanks 1

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...