当我尝试使用Firebase模拟器时,所有本地端口都说关闭了,更改端口或任何事情都无济于事



终止端口对没有帮助

就像我尝试了一切,在一切之后重新启动计算机设置数据库,设置模拟器,设置firestore,卸载整个firebase并再次下载,更改firebase中的端口,json,每次我尝试firebase模拟器:启动,它说:

i  emulators: Starting emulators: auth, functions, firestore, database, hosting, pubsub, storage
functions: Using node@16 from host.
i  firestore: Firestore Emulator logging to firestore-debug.log
i  emulators: Shutting down emulators.
i  functions: Stopping Functions Emulator
i  firestore: Stopping Firestore Emulator
!  Firestore Emulator has exited upon receiving signal: SIGINT
i  hub: Stopping emulator hub
!  database: Port 9000 is not open on 192.168.1.25, could not start Database Emulator.
!  database: To select a different host/port, specify that host/port in a firebase.json config 
file:
{
...
"emulators": {
"database": {
"host": "HOST",
"port": "PORT"
}
}
}
}

此外,当我尝试Firebase apps:list时,它根本不会在列表上显示我的应用程序,当我运行Firebase emulators:start时,它显示node.exe只使用了一段时间的端口,不久后它就会消失资源监视器

我在使用别人的程序,结果我只需要在firebase.json 中将IP地址更改为我的

最新更新