github / codespaces-nextjs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Port forwarding doesn't work

MJomaa opened this issue · comments

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"

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