Hello everyone.

We have decided to phase out the Mixed Reality Forums over the next few months in favor of other ways to connect with us.

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.

The plan between now and the beginning of May is to clean up old, unanswered questions that are no longer relevant. The forums will remain open and usable.

On May 1st we will be locking the forums to new posts and replies. They will remain available for another three months for the purposes of searching them, and then they will be closed altogether on August 1st.

So, where does that leave our awesome community to ask questions? Well, there are a few places we want to engage with you. 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. And always feel free to hit us up on Twitter @MxdRealityDev.

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

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

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

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