Connection refused for GetAllStudents client code with server but outputs to browser on port 8080 | Rest Assured Forum
E
Enem Ndubuisi Posted on 20/02/2019

Hi Sir, 

I get exception connection refused  when trying to run the code on video 12 basics1 restassured .

The code outputs to browser successfully on port 8080 but throws exceptions when i trying outputing on eclipse console.

 

Attached are screen shots for the code, the output on the browser and my cmd showing  server is up and running


A
Abhinav Replied on 20/02/2019

Hi Enum,

There is a mistake in code, baseUre is "http://localhost" not "https://localhost".


E
Enem Ndubuisi Replied on 21/02/2019

Thank you.