This content has been marked as final. Show 2 replies
obvious question - can the machine you are running the code on actually reach the URL on that port? Did you verify with wireshark that you are making a request to that endpoint?
I had tried using a HttpURLConnection to see if I am able to open the URL with the given port. It was successful. But using the Stub just doesnt connect at all.