How to open a localhost port from NotchStar
To open a local server from NotchStar, go to the Disk tab, pick Monitor, then Ports, and press the arrow icon on the row. Your default browser opens http://localhost: followed by that port number. A short note in the header confirms it.
Steps
- Hover over the notch and open Disk.
- Pick Monitor, then Ports.
- Find your server, using the filter box if the list is long. Typing 3000 or the project name works.
- Press the arrow icon, which is labelled Open in browser when you hover over it.
What to know
- It always builds
http://localhost:<port>. It does not read the address the program listens on, and it does not try https. - Every listening TCP port gets an Open button, including ones that are not web servers, such as a database. Those will not show a page. The command column tells you what a port is.
- Ports marked local are reachable only from your Mac. Ports marked network are reachable from other devices too, but Open still uses localhost.
If it fails
If the page does not load, the program may be bound to an address other than the local one, or it may need a path, or https. Copy the port into your browser by hand and change the address. If you are not sure what owns the port, read its command in the row, as described in the Ports list columns.
Other row buttons are Show in Finder and Stop. The tab is covered on the Disk feature page.