Eric Guo's

in HTML5, JavaScript, Ruby & Rails, Python, and Cloud MES!

Change Binding Port in Microsoft WebMatrix Site Such as node.js Project


Microsoft now is become quit outdated technology after they release so many outdated technology, but WebMatrix is in my opinion, the best tools to right node.js tools in Windows.

But I’m used to using port 3000 as default debug port since I’m switch to Ruby & Rails, so really not want to change port time to time, so here is how to change binding port.

<?xml version="1.0" encoding="UTF-8"?>
<site name="firstNode" id="1">
<application path="/" applicationPool="UnmanagedClassicAppPool">
<virtualDirectory path="/" physicalPath="D:\EricDocuments\My Web Sites\firstNode" />
<binding protocol="http" bindingInformation="*:3000:localhost" />

Just find the your node.js project entry in applicationhost.config and change port.