```coffee
if port
  open("http://localhost:#{port}/")
else
  open("http://localhost")
```