dma_k 2 Posted 22 hours ago Posted 22 hours ago 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 20 hours ago Posted 20 hours ago (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 20 hours ago by Lessaj 1
Q-Droid 996 Posted 19 hours ago Posted 19 hours ago 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 17 hours ago Author Posted 17 hours ago 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 16 hours ago Posted 16 hours ago 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 15 hours ago Posted 15 hours ago (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 15 hours ago 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