What port is used for browserDevelopmentRun/run ? ...
# react
p
What port is used for browserDevelopmentRun/run ? I'm going through this tutorial from Jetbrains https://play.kotlinlang.org/hands-on/Building%20Web%20Applications%20with%20React%20and%20Kotlin%20JS/02_Setting_up and when it launches http://localhost:8080 in the browser I get connection refused.
b
It is 8080. If you like to change it: https://webpack.js.org/configuration/dev-server/
p
Thanks - there's obviously something up in the above project - I'll add an issue on Github for it.
s
Hi @Paul N, I wrote the hands-on you mentioned above. Let me know if I of help, or if you managed to resolve the issue yourself. 🙂
p
Hi @Sebastian Aigner it turned out that it was a Chrome issue. For whatever reason Chrome (running in my Ubuntu VM) didn't like localhost:8080 even though Firefox and curl worked fine. I ended up just using 127.0.1.1:8080 in Chrome instead. Great article by the way, really really good.
🎉 1
👍🏼 1