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.

Connect to server or client on hololens from PC over USB

edited December 2016 in Questions And Answers


i have made an application with unity. Its a simple server-client application. The client just connects to the server and when it is successful i color a sphere in green. If there is no connection to the server the sphere is red.

I installed the server on the hololens and tested it with W-Lan and it works. My sphere on my PC is green.

My problem is that i need the connection over IpOverUSB. I did the "port forwarding" as described here. I see my settings when i run IpOverUsbEnum.exe and can connect to the device portal over the usb (i disabled wlan). When i try to connect to my server from my pc with the forwarding port (9001 maps to 4444 on which the server is listening) there is no connection establised. I also enabled:

  • InternetClient
  • InternetClientServer
  • PrivateNetworkClientServer

in Unity under the capabilities tab. I also tried to map 9001 to 80 and im able to connect to the sevice portal over Is hololens blocking the 4444 port? (Or other ports which are not "default" ports)

Does anyone tried the same or has an idea what i can try.




  • I would say yes there apparently is a firewall blocking your port, see this post

    I would try it on the port the Remoting Host sample uses since that port is open and allows incoming and outgoing connections and requests/responses.

    Dwight Goins
    CAO & Founder| Independent Architect | Trainer and Consultant | Sr. Enterprise Architect
    MVP | MCT | MCSD | MCPD | SharePoint TS | MS Virtual TS |Windows 8 App Store Developer | Linux Gentoo Geek | Raspberry Pi Owner | Micro .Net Developer | Kinect For Windows Device Developer

  • Hi,

    i tried it with the port 8000 but it is the same. Over WLAN there are no problems. I can connect. But it doesn`t connect over USB :/

Sign In or Register to comment.