fastify ile google cloud gibi VM’lere http uzerinden baglanmada sorun yasiyorsak 0.0.0.0’i host name olarak atamaliyiz
Google Cloud Uzerinden Izin Vermek
Google Cloud Firewall uzerinden
Firewall Rules
olusturTCP
hem8080
, hem de22
izni olmalidir8080
sizin sectiginiz port olarak alindiconst ws = Websocket({port: 8080))
Target tags
kismindaki degeriinstance
icinnetworks tags
kismina yaz
💡 Sunucu yeniden baslatmaya gerek yoktur


Fastify uzerinden tum ip erisimlerini acmaliyiz
try {
await this.fastify.listen({ port: 3000, host: "0.0.0.0" })
} catch (error) {
this.fastify.log.error(error)
process.exit(1)
}
Previousyt-dlp icin cookie bilgilerini kullanmakNextRegex ile string icerisindeki uzun metni parcalara bolmek
Last updated
Was this helpful?