Jump to content

Problem External Connections to server


Recommended Posts

Super957
Posted (edited)

Its strange but some my friends not conncet to my server and also me from external (without wifi)

I verify my situation and enclose screenshots and read again https://emby.media/support/articles/Connectivity.html

I try to restart server and also my modem/router but not solve. 

I try also to disable UPnP on server and modem but not solve.

I verify also my service ddns and work

At last attempt i try to disable and re-enable (see my first screenshot) "Allow remote connections to this Emby Server" and immediatly from external i can connect to server...

image.thumb.png.11126ac53b17d0f1950e3304f5ab493f.png

So i solve momentarily my problem... but I would like to know the reason for this 

 

Thank for advice

Hispa

 

Senza titolo2.png

Senza titolo3.png

Senza titolo4.png

embyserver (2).txt

Edited by seanbuff
edited image for privacy
Posted

Did you setup port forwarding in your router?

rbjtech
Posted
3 hours ago, Super957 said:

Its strange but some my friends not conncet to my server and also me from external (without wifi)

I verify my situation and enclose screenshots and read again https://emby.media/support/articles/Connectivity.html

I try to restart server and also my modem/router but not solve. 

I try also to disable UPnP on server and modem but not solve.

I verify also my service ddns and work

At last attempt i try to disable and re-enable (see my first screenshot) "Allow remote connections to this Emby Server" and immediatly from external i can connect to server...

 

So i solve momentarily my problem... but I would like to know the reason for this 

 

Thank for advice

Hispa

Senza titolo.png

Senza titolo2.png

Senza titolo3.png

Senza titolo4.png

embyserver (2).txt 72.24 kB · 0 downloads

By toggling 'allow remote connections' - emby re-requested to re-opened the required ports by using uPNP.

WAN > 192.168.0.100 on 8096 and 8920

As Luke has inferred, it's 'safer' and more reliable if you MANUALLY setup Port Forwarding instead.

Do exactly the same (ie WAN > 192.168.0.100 etc) and if not used for other external services DISABLE uPNP on the router.

 

 

Super957
Posted
2 hours ago, Luke said:

Did you setup port forwarding in your router?

Yes of course but pheraps you dont understand real problem... so all everything seems fine and from the outside I don't connect in any way after so many attempts. Then disabling and re-enabling "Allow remote connections to this Emby Server" ... as if by magic I can connect.

This is not normal...is a bug ?

 

Hispa

Senza titolo.jpg

Super957
Posted (edited)
2 hours ago, rbjtech said:

Attivando "consenti connessioni remote" - emby ha richiesto nuovamente di riaprire le porte richieste utilizzando uPNP.

WAN > 192.168.0.100 su 8096 e 8920

Come Luke ha dedotto, è "più sicuro" e più affidabile se si imposta MANUALMENTE il Port Forwarding.

Fai esattamente lo stesso (cioè WAN > 192.168.0.100 ecc) e se non utilizzato per altri servizi esterni DISABILITA uPNP sul router.

 

 

Disable uPNP you mean this ?

Now i try agin and is impossible connect to server from external see screenshot, also is disable and re-enable "Allow remote connections to this Emby Server" 

PLS help me...

 

Hispa

Senza titolo4.jpg

Screenshot_20230713_195916_Emby.jpg

Edited by Super957
pwhodges
Posted

If you disable uPNP in either (or both) of Emby and the router, you then need to add the IP address and port mapping into the router manually.  In English this is commonly referred to as "port forwarding" or "port redirection". 

Doing this manually will mean you are no longer dependent on the behaviour of the uPNP system, which seems to be the source of your problem.  Turning off uPNP in the router is an important security matter; you should only enable it if there is some software which requires it and doesn't offer an alternative.

Paul

Hispanico957
Posted (edited)
23 minutes ago, pwhodges said:

If you disable uPNP in either (or both) of Emby and the router, you then need to add the IP address and port mapping into the router manually.  In English this is commonly referred to as "port forwarding" or "port redirection". 

Doing this manually will mean you are no longer dependent on the behaviour of the uPNP system, which seems to be the source of your problem.  Turning off uPNP in the router is an important security matter; you should only enable it if there is some software which requires it and doesn't offer an alternative.

Paul

In my case i have correct port forwarding, see screenshot..but form external it's impossible conncet !

Why this ??? I'm going crazy

 

Hispa

Edited by Hispanico957
pwhodges
Posted

Sorry, I didn't look carefully...  You' seem to have got the forwarding setup wrong (I'm surprised the router even allowed your settings).

In your port forwarding there are three columns: Porta WAN, Porta LAN, Destinazione.  You have set Porta WAN correctly to 8096; however, you have put the internal IP address into the Porta LAN field - this field should also contain 8096; Destinazione should contain the IP address.

You only need to set up the 8020 mapping if you have a certificate and are using https.

If you have no other websites on this WAN address, you might consider making the Porta WAN values 80 and 443 respectively - these are the defaults for http and https, and would save you having to type the port every time - it also reduces the chance that your server will be seen by a hacker looking for an Emby installation (they'll be looking for 8096 mainly).

Paul

Hispanico957
Posted (edited)
3 hours ago, pwhodges said:

Sorry, I didn't look carefully...  You' seem to have got the forwarding setup wrong (I'm surprised the router even allowed your settings).

In your port forwarding there are three columns: Porta WAN, Porta LAN, Destinazione.  You have set Porta WAN correctly to 8096; however, you have put the internal IP address into the Porta LAN field - this field should also contain 8096; Destinazione should contain the IP address.

You only need to set up the 8020 mapping if you have a certificate and are using https.

If you have no other websites on this WAN address, you might consider making the Porta WAN values 80 and 443 respectively - these are the defaults for http and https, and would save you having to type the port every time - it also reduces the chance that your server will be seen by a hacker looking for an Emby installation (they'll be looking for 8096 mainly).

Paul

Thank pwhodges..but in my router port forwarding work:

port wan: 8096

port lan: 8096

Mac Address: mac of computer ..in my case NAS

(Name: Anything to describe the port forwarding rule. Protocol: This is either going to be TCP, UDP, TCP/UDP
WAN Port: The WAN facing port you are forwarding from (ranges can be added by separating the numbers with a colon, e.g. 5000:6000)
LAN Port: The LAN facing port you are forwarding to (ranges can be added by separating the numbers with a colon, e.g. 5000:6000)
Destination IP: The IP of the device you are forwarding traffic to.)

So the situation is:

My lan is configured: 192.168.0.xxx to 192.168.0.254

My server Nas is on my lan at 192.168.0.100

In router in set DYNDNS.IT  with my server xxxxxxxx.homepc.it and update ip regularly

In Emby i enable Allow remote connections to this Emby Server

In Emby control panel everything looks correct to me

On CanYouSeeMe.org the port 8096 is open

So.......... where is the problem for external connection ???

 

PLS advise me 🙂

Hispa

Senza titolo.jpg

 

Senza titolo2.png

embyserver (3).txt

Senzatitolo.png.f82cea2c4bf62a1c0e718a255d801775.png

Edited by GrimReaper
WAN address hidden
Posted

Does your ISP allow use of these ports?

pwhodges
Posted
23 minutes ago, Luke said:

Does your ISP allow use of these ports?

2 hours ago, Hispanico957 said:

Senza titolo2.png

Paul

GrimReaper
Posted
2 hours ago, Hispanico957 said:

So.......... where is the problem for external connection ???

How are you trying to connect remotely? 

I can connect to your domain no issues. 

 

Screenshot_20230714_000416_Opera.jpg

  • Agree 1
rbjtech
Posted (edited)

Interesting - as I see the Port as closed. (@ of 09:32 GMT on 14/07/2023)

Do you have any Geo blocking or any other services that may be blocking incoming connections ?

Remember, when checking WAN connectivity from within your own WLAN range - you should disable Wifi on the mobile for the test, as that will be used in preference to 4G (WAN) - and if loopback has not been configured on the router, the test will not work.

btw - your fqdn is in your first post - so you may want to remove it ...

Edited by rbjtech
  • Thanks 1
Super957
Posted
On 7/14/2023 at 10:34 AM, rbjtech said:

Interesting - as I see the Port as closed. (@ of 09:32 GMT on 14/07/2023)

Do you have any Geo blocking or any other services that may be blocking incoming connections ?

Remember, when checking WAN connectivity from within your own WLAN range - you should disable Wifi on the mobile for the test, as that will be used in preference to 4G (WAN) - and if loopback has not been configured on the router, the test will not work.

btw - your fqdn is in your first post - so you may want to remove it ...

Thank but regarding:

"...btw - your fqdn is in your first post - so you may want to remove it ..."

I cannot edit more my post...PLS ADMIN can fix it

 

Hispa

seanbuff
Posted
4 hours ago, Super957 said:

I cannot edit more my post...PLS ADMIN can fix it

Done.

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