Partage
  • Partager sur Facebook
  • Partager sur Twitter

HoloLens2-And-Local-Server

curl error 7 failed to connect to localhost port 8080 connection refus

    5 novembre 2020 à 15:42:33

    Hey All,

    I'm trying to get data with a Hololens application form a local server with wifi connection on the same wifi by router.

    My local server is coded in C #. In this server, I put a Json file at the address "http://localhost: 8080/TestServer/".

    My server is working properly.

    When I launch my local server and my Hololens application (With UnityEditor) on the same computer, it's work. I can receve my Json file. But when I launch my server on one computer and my app on my HoloLens2.. and I have this error on my Hololens2 :

    curl error 7 failed to connect to localhost port 8080 connection refused.

    For Testing I have create a console c# app to get my json file. This application work when I launch my server et my app on the same computer but when I launch on 2 different computer, It's doesn't work.. I have this error :

    no connection could be established because the target computer expressly refused it

    I open the port 8080 on my router. (I think I did this correctly). My router is : linksys wrt 1900 acs

    I have test "curl -v http://localhost: 8080/TestServer/". On the computer where the local server run, it's work but on a other computer on the same network, it's doesn't work

    thanks in advance

    • Partager sur Facebook
    • Partager sur Twitter

    HoloLens2-And-Local-Server

    × Après avoir cliqué sur "Répondre" vous serez invité à vous connecter pour que votre message soit publié.
    × Attention, ce sujet est très ancien. Le déterrer n'est pas forcément approprié. Nous te conseillons de créer un nouveau sujet pour poser ta question.
    • Editeur
    • Markdown