Introduction UPnP architecture allows devices to device communications among home entertainment devices, consumer electronics devices, wireless device etc. This uses UDP port 1900 and TCP port 2869. Participating devices use Simple Service Device Discovery protocol ( SSDP ) to discover other devices. Enable UPnP in Windows 7 Window 7 support UPnP for sharing videos, photos, and files to other supported devices including Smart TVs, SetTopBox devices etc. Go to Control Panel\All Control Panel Items Network and Sharing Center Choose home group and sharing options Create a homegroup Select the options you wish to enable and click Next Write down the password and 'Finish' Now your pc is set up as a UPnP enabled devices Install NodeJS The sample code discussed here require nodejs to run. You may find the installation details here (NodeJS) . Search This sample I used is inspired from this github - https://gist.github.com/chrishulbert/895382. This is goo