Access Vs Iss On Other Machine

Source URL: N/A

Language: whatever

Created on: 2021-10-21 08:12:22

By default, IIS Express doesn't allow connections from network (only local ones), so it is not so easy to make it work.
You need to run simple proxy server on your machine, it will redirect requests from network to your local IIS Express and it will work

 - https://github.com/icflorescu/iisexpress-proxy

install it globally:
`npm install -g iisexpress-proxy`

then just need to run it:
`iiexpress-proxy {PORT} to {newPORT}`

(info taken from: https://forums.asp.net/t/2125232.aspx?Bad+Request+Invalid+Hostname+when+accessing+localhost+Web+API+or+Web+App+from+across+LAN) It worked with me.
Access Vs Iss On Other Machine
content_copy