Click here to Skip to main content
16,017,954 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hello Guys ,

I have node js server that is hosted on vm server in IIS . i want to call this node server API from my Local machine using asp.net through loal machine IP arddress and port but i enable to call this node js api. i posted belove my code .


// blove this is my node js sever js api method
app.get("/stream", function (request, response) {

});


// belove code for call node js sever api method from local machine

string url = "http://213.*.*.*:Port/stream";

HttpWebRequest request = (HttpWebRequest)WebRequest.Create(url);

HttpWebResponse response = (HttpWebResponse)request.GetResponse();

I spend lost of time for that but i didn't get

Please help me



Thanks in advance

Laxman Prajapati
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900