github / codespaces-nextjs

124 stars 156 forks source link

Port forwarding doesn't work #7

Closed MJomaa closed 1 year ago

MJomaa commented 1 year ago

Description Port forwarding seems to be broken.

Reproduction Steps

  1. Press "Use this template" then "Open in codespace"
  2. Wait until the codespace is ready and nextjs app has started
  3. Click on the console url "http://localhost:3000"
  4. A new page with an automatically generated URL opens up, but it doesn't work
  5. Trying to append :3000 to the current URL or generated URL, but this doesn't work either
  6. Click on "Ports" in the editor and on "Forward a port", enter 3000. You will get the error message: "unable to forward localhost:3000. the host may not be available or that remote port may already be forwarded"
MJomaa commented 1 year ago

It started working again. Seems the issue has been resolved.