I have a MEAN Stack application (Node.js, Angular, MySql, Express) i created some api, and i build with iis site building the iisnode.local on port 80, and add web.config with reverse proxy, but when i try to call from external browse dont open nothing
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<rewrite>
<rules>
<rule name="ReverseProxyInboundRule1" stopProcessing="true">
<match url="(.*)" />
<action type="Rewrite" url="http://localhost:3000/{R:1}" />
</rule>
</rules>
<outboundRules>
<rule name="ReverseProxyOutboundRule1" preCondition="ResponseIsHtml1">
<match filterByTags="A, Form, Img" pattern="^http(s)?://localhost:3000/(.*)" />
<action type="Rewrite" value="http{R:1}://iisnode.local/{R:2}" />
</rule>
<preConditions>
<preCondition name="ResponseIsHtml1">
<add input="{RESPONSE_CONTENT_TYPE}" pattern="^text/html" />
</preCondition>
</preConditions>
</outboundRules>
</rewrite>
</system.webServer>
</configuration>
THIS IS THE DATA ON SITE BINDINGS
<sites>
<site name="IISNode" id="9" serverAutoStart="true">
<application path="/" applicationPool="IISNode">
<virtualDirectory path="/" physicalPath="D:
odemate_marketackend" />
</application>
<bindings>
<binding protocol="http" bindingInformation="IP-SERVER:80:iisnode.local" />
</bindings>
</site>
question from:
https://stackoverflow.com/questions/65885048/windows-server-2012-i-cant-access-my-url-from-outside-using-iis-and-iisnode 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…