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 Gulp Basics Welcome to Gulp.js Installing Gulp

Cezary Burzykowski
Cezary Burzykowski
18,291 Points

How do I preview my website via port 3000?

Hey there!

One thing is a bit confusing to me. How do I preview my website via port 3000 (like it is done in this video)?

After executing your file using cmd open browser and type localhost:3000

2 Answers

Stan Day
Stan Day
36,802 Points

Hi Cezary, You can run this command http-server -p 3000 and then open your browser and type in localhost:3000 or 127.0.0.1:3000 in the address bar.