I am facing a weird issue ,
We have a GET URL like below http://localhost:12345/xxxxx/abcsd . If am accessing the URL from the browser it's works fine. But accessing through the code It's giving an error
No connection could be made because the target machine actively refused it 127.0.0.1:12345
And making it more suprise , If I start fiddler the URL works from code.
I spent some good amount of time analyzing this issue not sure , what happening here . Any guess ?