+ 2

Localhost doesn't launch when triggered by nodeJS

I have a Wamp server on windows & I have installed visual studio code for running nodejs programs. As first step m trying to run a sample program which will display an HTML page. But the issue is, localhost refuses to connect. As checked, currently the port set in httpd.conf is set to 80 & if launch directly localhost does open on this port. But when I try to do d same through nodejs it just doesn't launch it. Can anyone help regarding this issue. Thanks in advance for your support!

4th Aug 2021, 6:00 PM
Shweta Gare
Shweta Gare - avatar
1 Réponse