Https://www.codecademy.com/courses/learn-spring/articles/spring-project-layout-and-running-locally

Does anyone have any ideas about why I cannot access my localhost? I have spent hours and hours trying to troubleshoot, tweaking settings, etc in an attempt to be able to use Java Spring, but nothing has even remotely worked. It just keeps returning the request as connection refused

https://www.codecademy.com/courses/learn-spring/articles/spring-project-layout-and-running-locally