cypsele 2 Posted February 4 Share Posted February 4 Bonjour, J'ai installé emby sur un mac mini 10.13.6. En local tout fonctionne depuis un navigateur ou depuis l'app via le wifi. J'ai une adresse IP fixe externe via bouygues. Dans les paramètres d'emby j'ai accès à distance via WAN http://monip:8096 où mon IP est l'adresse statique de la box. Dans la bbox j'ai redirigé le port 8096 vers mon adresse ip du mac du réseau local. Mais ça ne fonctionne pas lorsque je déconnecte mon smartphone du réseau wifi et que je passe en 3G :"impossible de joindre la bibliothèque X. Nous sommes dans l'impossibilité de nous connecter au serveur sélectionné. Veuillez vérifier qu'il est bien démarrer et réessayer"... J'avoue être un peu à court de solution. Merci par avance. JL Link to comment Share on other sites More sharing options...
vincen 13 Posted February 4 Share Posted February 4 Cela est normal, il faut modifier les réglages de connection de l'app sur ton smartphone pour utiliser monip:8096 au lieu de moniplocale:8096 sinon si tu as un compte Emby Premiere tu peux le connecter via le cloud Emby et dans ce cas plus de soucis ! Link to comment Share on other sites More sharing options...
cypsele 2 Posted February 4 Author Share Posted February 4 (edited) Via l'app je choisi "se connecter avec emby cloud", je renseigne mon adresse mail et mot de passe et je me connecte. Ensuite je clique dans app sur ma biblio musicale avec indiquée en dessous la bonne adresse ip (statique externe). Et ensuite j'ai le message d'erreur Edited February 4 by cypsele Link to comment Share on other sites More sharing options...
cypsele 2 Posted February 4 Author Share Posted February 4 Je pense que le pb vient des paramétrages de la bbox Link to comment Share on other sites More sharing options...
cypsele 2 Posted February 4 Author Share Posted February 4 Pas d'idée ?? Link to comment Share on other sites More sharing options...
Luke 37191 Posted February 7 Share Posted February 7 HI, have you configured port forwarding in your router? Remote Setup Link to comment Share on other sites More sharing options...
cypsele 2 Posted February 7 Author Share Posted February 7 Yes, utp redirection port 8096 Link to comment Share on other sites More sharing options...
cypsele 2 Posted February 8 Author Share Posted February 8 (edited) I give you my setting on the bbox tcp redirection port I have actived so the upnp option on the router but emby upnp do not appear (see attachment) Edited February 8 by cypsele Link to comment Share on other sites More sharing options...
Luke 37191 Posted February 8 Share Posted February 8 Does your ISP use a CGNat? If yes then you'll need either a VPN or TailScale. Can you follow the directions here to find out if your ISP uses a CGNat? https://www.purevpn.com/blog/how-to-check-whether-or-not-your-isp-performs-cgnat/ Please let us know the result. Thanks. Link to comment Share on other sites More sharing options...
cypsele 2 Posted February 9 Author Share Posted February 9 I verified and i am not in CGNat. I have a static public IP like 176.XXX.XXX.XXX Link to comment Share on other sites More sharing options...
Luke 37191 Posted February 11 Share Posted February 11 On 2/9/2024 at 2:35 PM, cypsele said: I verified and i am not in CGNat. I have a static public IP like 176.XXX.XXX.XXX OK can you please try the canuseeme tests that we mention in this document here? Connectivity Please let us know the result. Thanks. Link to comment Share on other sites More sharing options...
cypsele 2 Posted February 11 Author Share Posted February 11 (edited) when i go on canyouseeme.org the test failed Edited February 11 by cypsele Link to comment Share on other sites More sharing options...
vincen 13 Posted February 11 Share Posted February 11 49 minutes ago, cypsele said: when i go on canyouseeme.org the test failed Screenshot ? you tested the port 8096 ? Link to comment Share on other sites More sharing options...
cypsele 2 Posted February 11 Author Share Posted February 11 (edited) Sorry i tested with port 80. With 8096 it's ok But if i do my ip 176.XXX.XXX.XXX:8096 i get "forbidden with my phone and 4G network Edited February 11 by cypsele Link to comment Share on other sites More sharing options...
vincen 13 Posted February 11 Share Posted February 11 23 minutes ago, cypsele said: Sorry i tested with port 80. With 8096 it's ok But if i do my ip 176.XXX.XXX.XXX:8096 Just update the forward rule in your internet box to map 8096 on local network to 80 on public network and then you'll be able to access your Emby server with just IP address Link to comment Share on other sites More sharing options...
cypsele 2 Posted February 11 Author Share Posted February 11 if i set this (attachment) in the box when i do 176.XXX.XXX.XXX:8096 i have It works! on my phone. I think that mean apache works on my mac, no ? Link to comment Share on other sites More sharing options...
cypsele 2 Posted February 12 Author Share Posted February 12 But emby does not work Link to comment Share on other sites More sharing options...
Luke 37191 Posted February 12 Share Posted February 12 7 hours ago, cypsele said: But emby does not work Hi, what exactly is the problem? Link to comment Share on other sites More sharing options...
cypsele 2 Posted February 13 Author Share Posted February 13 What you mean ? If you read the title and m'y different responses you could see i cannot connect me to emby when i am out of the local network. Link to comment Share on other sites More sharing options...
cypsele 2 Posted February 14 Author Share Posted February 14 Rookie, do you understand what it failed ? Is the attachment ' settings is correct for the forward rule ??? Link to comment Share on other sites More sharing options...
vincen 13 Posted February 14 Share Posted February 14 22 minutes ago, cypsele said: Rookie, do you understand what it failed ? Is the attachment ' settings is correct for the forward rule ??? Sorry to say but your explanations are really unclear about what you did and what you tested ! You speak about apache on your mac ? what's the point ? Link to comment Share on other sites More sharing options...
Randdrick 24 Posted February 14 Share Posted February 14 Bonjour Cypsele, Ce n'est pas tant la configuration de ta BBox qui pose problème, mais la compréhension du fonctionnement d'un réseau, en général. Je te l'accorde, ce n'est pas une chose simple quand on n'est pas du métier. Voici les points à prendre en compte : 1) Tu ne dois pas accéder, de l'extérieur, à travers le 8096 à ton serveur emby. En effet, ce dernier n'étant pas sécurisé, toutes les informations transitent en clair, à savoir ton compte utilisateur et ton mot de passe. 2) En lien avec le premier point, saches que tous les navigateurs modernes forcent la connexion en https et non en http. Si ta connexion se fait par défaut avec le protocole https (donc en mode sécurisé pour faire simple), il te faut un certificat SSL, sous peine d'avoir une refus de connexion. 3) Emby fonctionne par défaut sur le port 8096 (en non sécurisé donc en http) et sur le port 8920 (en mode sécurisé donc en https). Si tu rediriges ton port 8096 vers le port 80, tu ne te connecteras pas à ton serveur Emby puisque ce dernier fonctionne sur le port 8096 4) Si tu persistes à vouloir te connecter à travers ton ip public, sur ton serveur emby, tu dois taper l'url en entier, à savoir http://monip:8096. 5) Pour te connecter sur ton serveur par ton réseau local, il te suffit d'entrer dans ton navigateur, tonadresseiplocal:8086. Exemple : 192.168.0.10:8096 (ou 192.168.10.10 est l'adresse ip local de ton serveur emby) 6) Concernant ton Iphone, quand il est branché sur le Wifi de ton réseau local, il obtient une adresse ip dans ton réseau local. C'est pour cela qu'il peut se connecter à ton serveur emby. Quand tu lui coupes le wifi, il n'a qu'une adresse ip publique et n'a plus accès à ton réseau local. Il peut donc se connecter à ton serveur que par ton adresse ip externe, à savoir : http://monip:8096 7) Si tu veux accéder à ton serveur à travers le réseau public, il te faut passer absolument configurer ton serveur emby avec un certificat SSL pour crypter tes données, et utiliser le port 8920 pour cela. Ce n'est pas le plus simple à faire, mais il existe pleins de tuto pour cela. En espérant t'avoir éclairé sur le sujet. Link to comment Share on other sites More sharing options...
cypsele 2 Posted February 16 Author Share Posted February 16 (edited) Merci Randdrick pour ces infos. En local comme je l'avais indiqué ça fonctionne depuis l'app emby ou depuis un navigateur avec l'adresse IP locale du serveur emby. Pas de pb. Ce qui est curieux c'est qu'à distance en mode non sécurisé, http ça ne marche pas avec le smartphone wifi coupé donc uniquement en 3G. Que ce soit avec l'app ou un navigateur en indiquant bien l'adresse http://monip: 8096 ??? ce n'est tout de même pas normal. De plus j'ai par exemple le serveur local daphile. Je vois dans les paramètres de redirection de port dans la bbox que sans que j'ai eu quoique ce soit à faire au niveau de la box, daphile apparaît en upnp. Emby, non ? Je pensais passer à l'étape suivante https une fois cela résolu. Mais je vais regarder parallèlement comment on fait avec le certificat SSL. Cela dit la première étape m'interroge. Edited February 16 by cypsele Link to comment Share on other sites More sharing options...
vincen 13 Posted February 16 Share Posted February 16 17 minutes ago, cypsele said: Ce qui est curieux c'est qu'à distance en mode non sécurisé, http ça ne marche pas avec le smartphone wifi coupé donc uniquement en 3G. Que ce soit avec l'app ou un navigateur en indiquant bien l'adresse http://monip: 8096 ??? ce n'est tout de même pas normal. Tu as bien mis à jour les réglages de connexion dans l'app sur ton smartphone pour utiliser ton ip publique ? le port 8096 extérieur est bien redirigé sur l'ip et le port local de ton serveur Emby ? Link to comment Share on other sites More sharing options...
cypsele 2 Posted February 16 Author Share Posted February 16 je pense avoir fait les réglages adaptés cf PJ sur la box. C'est bien en TCP le protocole ? Pour autant en connexion 3G je tombe sur forbidden Link to comment Share on other sites More sharing options...
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