Jump to content

Configure IPv4 binding on localhost


Recommended Posts

Lessaj
Posted (edited)

There's nothing wrong with this, it's still listening on ipv4. I have ipv6 completely disabled on my system and it still appears like that with netstat.

EDIT: I think the help text underneath the field explains what it does. Emby will listen on all addresses, but advertise that address to the apps for LAN.

Edited by Lessaj
  • Like 1
Q-Droid
Posted

On top of that if you were to force Emby to bind only on the localhost address then no other LAN clients would be able to connect unless you were using a local proxy.

 

  • Like 1
Posted
2 hours ago, Q-Droid said:

unless you were using a local proxy.

That is exactly my case. More over to make Android client work properly I would need to block IPv6 traffic, see my earlier post "Forget This Server" does nothing:

# ip6tables -A INPUT -p tcp --dport 8096 -j REJECT

Gets more and more tricky 🤔

3 hours ago, Lessaj said:

Emby will listen on all addresses, but advertise that address to the apps for LAN.

I think advertise IP address != bind IP address. Hence I suggest the "enhancement" in my initial post (feel free to extend / improve it).

Lessaj
Posted

While setting a bind IP isn't a bad idea I provided details in your other post for how to force clients to use the remote address. In my local network the remote address resolves to a local IP, outside it resolves to an external one.

Q-Droid
Posted (edited)

If you run Emby in a Docker container you can specify the host bind IP in the run/compose but only in bridge network mode, not host network.

 

Edited by Q-Droid
  • Agree 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...