iPadOS: server URL isn’t pasted & unable to be clicked

Kia ora!

I’m so excited by the Codespaces beta! I’ve just started playing around, testing it out with a Next.js website I built on the iPad recently (using Play.js - but so excited for the possibilities Codespaces provides!)

I’m running into an issue with forwarded ports - in the terminal output, I’m unable to click on the localhost URL using the touch interface - I see the “follow link” tooltip, but without a physical keyboard I can’t use cmd + click. When clicking to copy the server URL in the forwarded ports panel, I see the notification that the URL has been copied to the clipboard, but this doesn’t seem to actually happen and I’m not able to paste it! These two things mean that I don’t think there’s any way to view my web app - which is obviously not ideal!

Has anyone else run into this, or been able to resolve it?

Another way you can get to the forwarded URLs is as follows:

  1. Go to the “Remote Explorer”
    image
  2. Look under “Codespace Details” and you should see the port listed
    image
  3. Click / touch it and the forwarded url should open!

Thanks for this! Unfortunately, touching it doesn’t open the link, just brings up the option icons!

I believe this may be due to pop-ups being silently blocked. If you go into your Safari settings, and disable the Block pop-ups option, are you able to click on the port to open it?

As an aside: if you run npx -q codespaces-port <port> from the integrated terminal, that will print out the URL for the port that you could open in a new tab.

Thanks so much for this - allowing pop ups got it working!

Awesome! Thanks for confirming that :+1: