Announcements

Help Wizard

Step 1

NEXT STEP

FAQs

Please see below the most popular frequently asked questions.

Loading article...

Loading faqs...

VIEW ALL

Ongoing Issues

Please see below the current ongoing issues which are under investigation.

Loading issue...

Loading ongoing issues...

VIEW ALL

Follow WEB PLAYBACK SDK Guide step by step, however issue appears

Follow WEB PLAYBACK SDK Guide step by step, however issue appears

My Question or Issue

 

Please refer to 

https://developer.spotify.com/documentation/web-playback-sdk/guide/

 

I was able to see a spinning React logo at first, meaning React does work. But at the final "Running everything together" part, when I run npm run dev the "localhost refused to connect". Meanwhile my terminal was saying I compiled successfully as below.

"

Compiled successfully!

You can now view spotify-web-player in the browser.

Local: http://localhost:3000
On Your Network: http://172.22.255.116:3000

Note that the development build is not optimized.
To create a production build, use npm run build.

webpack compiled successfully

"

Could anyone shed some light on this issue? Or is there any possible errors in the Guide, since I found several typos in the code that causes the error? (ex told I should create a Webplayback.jsx, while the actual name in code is WebPlayback.jsx)

 

Very appreciate any help!

 

Reply
2 Replies

You can try to use another port number.

XimzendSpotify Star
Help others find this answer and click "Accept as Solution".
If you appreciate my answer, maybe give me a Like.
Note: I'm not a Spotify employee.

Hi Ximzend

Thanks for your kind advice. The issue persists even though I've tried almost other 10+ port numbers. =(

Suggested posts

Let's introduce ourselves!

Hey there you,   Yeah, you! 😁   Welcome - we're glad you joined the Spotify Community!   While you here, let's have a fun game and get…

ModeratorStaff / Moderator/ 4 years ago  in Social & Random