0


I am node newbie. I have a windows server, where I am running node.js with webserver.js. Start the node with webserver.js. Fireup the IE and when I tried localhost:port/index.html, the page shows properly in the IE. Now if I change the localhost to servername:port/index.html, IE is unable to display the page ('IE cannot display the webpage with you can try diagnose connection problem). Is there anything I need to enable in node so it is available outside localhost? I have jenkins runs on the same server, I did not do anything and it shows up properly with the server name. Just curious.

Thanks

4

1 回答 1

0

我的问题是,我使用了链接中的代码,在链接中它使用了 IP 地址,我将其更改为服务器名称,现在我可以使用服务器和正确的 url 来访问链接。希望这可能对其他人有所帮助。我没有改变使用 netstat。

于 2012-12-12T17:53:07.357 回答