Hello everyone.

The Mixed Reality Forums here are no longer being used or maintained.

There are a few other places we would like to direct you to for support, both from Microsoft and from the community.

The first way we want to connect with you is our mixed reality developer program, which you can sign up for at https://aka.ms/IWantMR.

For technical questions, please use Stack Overflow, and tag your questions using either hololens or windows-mixed-reality.

If you want to join in discussions, please do so in the HoloDevelopers Slack, which you can join by going to https://aka.ms/holodevelopers, or in our Microsoft Tech Communities forums at https://techcommunity.microsoft.com/t5/mixed-reality/ct-p/MicrosoftMixedReality.

And always feel free to hit us up on Twitter @MxdRealityDev.
Options

Connecting HoloLens to Sharing Service

sbagchisbagchi
edited January 2017 in Questions And Answers

Hi all, I've been struggling for a while, but I'm still unable to get the HL connected to the sharing service. I'm able to connect when I run my scene in Unity, but not otherwise (through HL or emulator). I had thought there was a firewall issue at work, but I've since gotten an exemption and put in rules for the service & port (20602). Can anyone think of something else I should try?

Some context - I only have one HL, but can borrow another if absolutely necessary. I'm only trying to connect one HL to my pc for the purposes of sending data to and from another Visual Studio project. If there's a better way of doing this that would avoid the sharing service, I would be interested to hear it!

Best Answer

Answers

  • Options

    Need more information to get your problem. Where have you installed service? Are your Server, PC & HL in same LAN? Have you properly given Server IP & Port in Sharing Service object in Unity?.... etc.
    I have also got the same problem and its resolved by providing Live IP. Also I believe that Sharing Service should be installed on third System (Server) then PC.

  • Options

    Hello @sbagchi I'm having the same problem, which firewall rules exactly? the ones for the sharingservice.exe ? did you set it to local, private and public networks?

  • Options
    edited March 2017

    @Rodolink said:
    Hello @sbagchi I'm having the same problem, which firewall rules exactly? the ones for the sharingservice.exe ? did you set it to local, private and public networks?

    You can do it in powershell:

    New-NetFirewallRule -DisplayName "HoloLens Sharing Service" -Direction Inbound -Action Allow -Protocol UDP -LocalPort 20601-20602 -Program "C:\holotoolkit\sharingservice.exe"
    
Sign In or Register to comment.