dma_k 2 Posted Sunday at 06:17 PM Posted Sunday at 06:17 PM How to force using IPv4 on LanDear all, I have set local IP address t 127.0.0.1, but Emby server binds on IPv6 instead of IPv4: # netstat -an | grep 8096 tcp6 0 0 :::8096 :::* LISTEN 3616128/EmbyServer Can it be implemented the following way: 127.0.0.1 = bind on IPv4 ::1= bind on IPv6 empty = bind on both ? Thanks! P.S. Related issues: How to force using IPv4 on Lan, Image Processing Problem when using IPv6 addresses.
Lessaj 476 Posted Sunday at 08:25 PM Posted Sunday at 08:25 PM (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 Sunday at 08:29 PM by Lessaj 1
Q-Droid 996 Posted Sunday at 09:21 PM Posted Sunday at 09:21 PM 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. 1
dma_k 2 Posted Monday at 12:13 AM Author Posted Monday at 12:13 AM 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 476 Posted Monday at 12:30 AM Posted Monday at 12:30 AM 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 996 Posted Monday at 01:42 AM Posted Monday at 01:42 AM (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 Monday at 01:43 AM by Q-Droid 1
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now