Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

JavaScript React Authentication Implementing Basic Authentication Set Up User Registration

Devontay Cross
Devontay Cross
10,849 Points

I can get the api to work on a different server

Every time I attempt to run the api.js on https://localhost:5000, I always get an error. I event attempted to run the api.js on the same server as the client folder and the api overwrote the entire website. By the way, I'm running the client folder on https://localhost:3000

jobbol
seal-mask
.a{fill-rule:evenodd;}techdegree
jobbol
Full Stack JavaScript Techdegree Student 17,885 Points

My guess is port 5000 is already in-use. I can't be sure without seeing the error though and where it originated from.