Is it possible to open UPnP from Javascript?

I am working on a webpage where I want to open some UPnP devices, however the client may be in a different VLAN than the server. Thus, the opening of UPnP should occur on the client. UDP seems to be impossible with Javascript. Does anyone know if there is a way to do UPnP discovery in a client browser?

+8
javascript upnp
source share
1 answer

JavaScript has no built-in networking capabilities. For example, you cannot initially perform pings. You can make a ping / port DIY scanner using the img tag and set the src attribute for the target and test the response. But other than that, you'll need a plugin or ActiveX.

I also suggest using Java.

+1
source share

All Articles