Making the REST API visible to other computers on the network

Hello, I am a new user, and definitely not particularly familiar with Windows administration. I am trying to make the REST API visible to other computers on my network. I am running the QA403 on a Windows 10 machine, and installed IIS on it, but cannot figure out how to proceed from there. Can anybody point me to some relatively simple instructions how to do this? Thanks!

Hi @nussbaumm,

The QA403 runs its own very rudimentary server, you don’t need IIS.

The server is started in c# via Listener.Prefixes.Add(string.Format(“http://localhost:{0}/”, port));

Normally, this means the server will only be available locally. But I think you can use ``netsh`` to change the visibility of the server to other machines on the network.

Can you access the REST server locally?

YTes, I can. But when I try to access it from another computer (type in http://192.168.171.106:9402 ) I get no response. I tried to open up port 9402 in the Windows firewall (for ingoing and outgoing) but that made no difference. I’m afraid that “But I think you can use ``netsh`` to change the visibility…” is Greek to me…

Hi @nussbaumm, I think the way the port is being currently opened in the QA40x app will prevent external connections from other machines. Let me see if a command line switch could be added so that those that need to connect from another machine can do so….

That would be great, thanks!

mn

I don’t know if it’s the same as my experience with local servers in other languages, but I would expect localhost == 127.0.0.1, which is that PC only. Setting it to the broadcast address of 0.0.0.0 would make my local server visible across the LAN.