我需要通过部署创建 api,但无法在 localhost 上打开它。这是我的代码
Variss-Air:nodeServer manjarb$ dpd create sportsstore
to start your app:
$ cd sportsstore
$ dpd
Variss-Air:nodeServer manjarb$ cd sportsstore
Variss-Air:sportsstore manjarb$ dpd -d
starting deployd v0.8.4...
listening on port 2403
type help for a list of commands
dpd > bye
Variss-Air:sportsstore manjarb$
但是当它打开浏览器(谷歌浏览器)时。在这个地址上。
http://localhost:2403/dashboard/
我总是得到这个
This webpage is not available
ERR_CONNECTION_REFUSED
Hide details
Google Chrome's connection attempt to localhost was rejected. The website may be down, or your network may not be properly configured.
所以有人知道如何解决吗?谢谢!