Jump to content

I can't connect from the Emby app on Apple TV4K to the Emby server


Go to solution Solved by rbjtech,

Recommended Posts

Posted

Ethernet adapter Ethernet:

   Connection-specific DNS Suffix  . : modem
   Description . . . . . . . . . . . : TP-Link Gigabit PCI Express Adapter
   Physical Address. . . . . . . . . : 18-D6-C7-03-B3-9F
   DHCP Enabled. . . . . . . . . . . : Yes
   Autoconfiguration Enabled . . . . : Yes
   IPv6 Address. . . . . . . . . . . : 2001:8003:4603:db00:169a:c650:fd9e:ae8(Preferred)
   Temporary IPv6 Address. . . . . . : 2001:8003:4603:db00:9426:9bf5:4940:6a8a(Preferred)
   Link-local IPv6 Address . . . . . : fe80::2b16:8a0b:d4e3:83d%44(Preferred)
   IPv4 Address. . . . . . . . . . . : 192.168.0.90(Preferred)
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Lease Obtained. . . . . . . . . . : Tuesday, 19 September 2023 2:37:06 PM
   Lease Expires . . . . . . . . . . : Wednesday, 20 September 2023 2:37:05 PM
   Default Gateway . . . . . . . . . : fe80::1213:31ff:fecf:b1b2%44
                                       192.168.0.1
   DHCP Server . . . . . . . . . . . : 192.168.0.1
   DHCPv6 IAID . . . . . . . . . . . : 454612679
   DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-23-11-01-1B-18-D6-C7-03-B3-9F
   DNS Servers . . . . . . . . . . . : 2001:8003:4603:db00::1
                                       192.168.0.1
   NetBIOS over Tcpip. . . . . . . . : Enabled
   Connection-specific DNS Suffix Search List :
                                       modem

I can't connect from the Emby app on Apple TV4K to the Emby server on my PC.
Telstra Technicolor DJA0230TLS router.
The Apple TV4K is connected wirelessly to an access point router then to the main Telstra one by ethernet. Telstra Router is connected to the PC by ethernet.
All the other apps on Apple TV4K work instantly
What I have tried:
Server is up to date 4.7.14.0
Have port forwarded 192.168.0.90 on router.     Emby    TCP/UDP    8096    8096    192.168.0.90
LAN access http://192.168.0.90:8096 - When clicked Emby opens on the PC.
WAN access http://110.148.225.40:8096 - When clicked it Errors- Timed out.
Trying to access 192.168.0.90 from a phone or a laptop doesn't work.
Trying to access 192.168.0.90:8096 from a phone or a laptop doesn't work. Did not match any docs.
I have opened TCP port 8096 on windows firewall.
Still doesn't work.
CanYouSeeMe.org Can't see me. error- timed out
I can Ping 192.168.0.90
I can ping 2001:8003:4603:db00:169a:c650:fd9e:ae8
I can Ping 2001:8003:4603:db00:9426:9bf5:4940:6a8a
Windows Firewall: Everything Emby is enabled, except 2 instances of Emby Server Public
Everything Emby is allowed.
Port 8096 and 8920 are enabled and allowed.
I have reset the Telstra router twice and restarted the AppleTV4K numerous times.
The Emby app on the Apple TV4K (after a restart) starts and presents the Welcome and I click next.
I click skip to skip setting up Emby Connect.
I insert 192.168.0.90 on the input page and click connect.
I get the spinning star and then the error message "Connection Failure".
"We are unable to connect to the selected server right now. Please ensure it is running and try again".
I have lost count of how many times I have tried to connect.
I have to restart the Apple TV4K to start the process each time.
I guess I need help.
 

Posted

As I read it, you have port-forwarded your server's internal (LAN) address (192.168.0.90), which is not necessary.  Port forwarding is the mean of converting from your external (WAN) address to the internal address, so you need to start the port forwarding with the external address.

Emby's guidance is here:

https://emby.media/support/articles/Connectivity.html

https://emby.media/support/articles/Remote-Setup.html

Paul

Posted

Thank you for the reply. I have deleted the port forwarding but no success on connecting.

I have tried the below test from your suggested guidance. This doesn't get me anywhere. My phone and laptop are on the same wifi network.

"A useful test is to try to use a web browser on another device, such as another computer, smartphone or tablet. You'll need to ensure the other device is connected to the same WIFI network. Try opening a web browser on that device and entering the local address manually:"

The other sugested guidance needs the above to work before that will work.

Is port forwarding not needed in any instance to get the server to respond?

I'm not the sharpest tool in the box when it comes to networking. I laboured 3 days to try to get it to connect. I just don't know the ins and outs of networking, that's why I need some help in guiding me to get it successfuly connected.

I already had remote connections and automatic port mapping allowed. 

Can you suggest anything else?

GrimReaper
Posted
3 hours ago, RickEd2 said:

The Apple TV4K is connected wirelessly to an access point router then to the main Telstra one by ethernet. Telstra Router is connected to the PC by ethernet.

What is the IP address of your Apple TV4k? Is it on a same subnet or you have Double NAT? If so, how are you bridging networks?

Posted

Is the network on your PC in "Public" mode?  It should be "Private".

Paul

Posted

Apple TV4K address is 192.168.0.78 same subnet as Emby

Bridging, now there's a subject. I followed a tutorial online to connect the two routers.

I just realised I didn't inform initialy that it was all working 3 days ago

The network is private mode according to windows firewall

Further replies will be responded to in the morning

Thank you

Posted

But is your server network set to private or public ?

Settings -> Network & Internet -> Properties

image.png.43f5dd76797da54d10f2b859b32345ad.png

Posted

They said private in their last message.

Paul

Posted (edited)

Yes in firewall.

Might not be the same on Nic.

You can look all you want at firewall rules, but nic needs to be set to the same as rules.

Edited by jaycedk
Posted

Jaycedk Thanks for the query. The network is selected as Private and looks exactly as the image on your reply

Posted

I took the access point out of the equation and connected the Apple TV4K direct to the Telstra router by ethernet.

It still refuses to connect

 

Posted

Does the router have VLAN capability?  If so, are its relevant switch ports on separate VLANS?

Paul

Posted (edited)

Just out of curiosity, what is the ip address of the client ? 

 

Edited by jaycedk
Nevermind, already answered.
Posted

pwhodges- The router is a Technicolor DJA0230TLS supplied by Telstra ( My ISP). I don't think there is any mention of VLANS in the literature.

 

 

Posted
20 hours ago, RickEd2 said:

I just realised I didn't inform initially that it was all working 3 days ago

So something changed.  Can you think of anything you did that correlates with the change - e.g. a Windows update (which happened just last week), or a firmware update to anything?  Or it could have happened automatically, but you might have noticed in passing without thinking it mattered.

Paul

Posted

A recent windows update rebooted my PC, 3 times. The third time was unexpected and, I guess, out of sync. I shut down the PC and I was surprised to see that it re-booted to just beyond the boot  then shut down. I assumed it was windows doing it's thing.

 

  • Solution
Posted (edited)

So lets go back to basics - for the moment, forget any WAN/Port Forwarding - none of that is necessary for connecting from a local (LAN) device.

Emby Server (your PC) is 192.168.0.90 - is this the only Network Interface on that PC ?

Router (Gateway) is 192.168.0.1

IP Address of Apple TV4K ?

Can you ping the AppleTV 4K from the PC ?

on the PC - run 'powershell' from the search bar

In the windows that opens type

PS C:\Users\xxx> test-netconnection localhost -port 8096                                                                                                                                                                                                                                                               

It should respond something like -

                                                                                                                                                                                                                                                                                                           ComputerName     : localhost
RemoteAddress    : ::1
RemotePort       : 8096
InterfaceAlias   : Loopback Pseudo-Interface 1
SourceAddress    : ::1
TcpTestSucceeded : True

The key thing here is the 'True' - if you see that, then emby is 'listening' for any incoming connections.

Let us know what that says.. I believe this is working fine (as you can access emby on the PC itself, but would like to check).

if you have a 2nd PC/laptop on the same LAN (192.168.0.0/24)  - then also try

PS C:\Users\xxx> test-netconnection 192.168.0.90 -port 8096     

You should get the same 'True' from those devices as well.

If any local IP's are not 192.168.0.x (maybe 192.168.1.x for example) then they are not on the same LAN and thus will not find emby (without routing)..

Edited by rbjtech
Posted

rbjtech- Apple TV4K 192.168.0.186 ethernet connection to primary router - Ping works

This is the result of the test

PS C:\Users\Rick> PS C:\Users\xxx> test-netconnection localhost -port 8096
Get-Process : A positional parameter cannot be found that accepts argument
'test-netconnection'.
At line:1 char:1
+ PS C:\Users\xxx> test-netconnection localhost -port 8096
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidArgument: (:) [Get-Process], ParameterBindingException
    + FullyQualifiedErrorId : PositionalParameterNotFound,Microsoft.PowerShell.Commands.Get
   ProcessCommand

All IP's are 192.168.0.x

Thank you for this assistance

Rick

Posted

 

9 hours ago, rbjtech said:

Emby Server (your PC) is 192.168.0.90 - is this the only Network Interface on that PC ?

If this means are there any other servers on the PC then no, Emby is the only server.

 

Posted

I should get my brain working.

By network Interface I take it you mean NIC?

There is only one NIC in the PC

Posted

I'm getting there.

PS C:\Users\Rick> test-netconnection localhost -port 8096


ComputerName     : localhost
RemoteAddress    : ::1
RemotePort       : 8096
InterfaceAlias   : Loopback Pseudo-Interface 1
SourceAddress    : ::1
TcpTestSucceeded : True


I copied and pasted the whole line from your example the first time- including PS C:\Users\xxx> that's why it errored.

 

Posted
12 hours ago, rbjtech said:

if you have a 2nd PC/laptop on the same LAN (192.168.0.0/24)  - then also try

Test also works on laptop

Posted

Well... here's the good news.

My connection started working!!!

The tests seemed to have resolved something - I don't know what - it just made it work.

I had to re-start Apple TV4K, just as I had done after every other "test" inumerable times.

This time tho it went straight to Emby Connect. I gave the password and Emby popped up on the TV.

Kudos to the Emby Community patrons who helped me. I never would have succeded without you.

Thank you

Regards

Rick

 

 

  • Like 1
  • 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...