guoyuyan
guoyuyan
RRailway
Created by guoyuyan on 8/1/2023 in #✋|help
Template with Redis
@xyo Do you have a plan to fix it?
15 replies
RRailway
Created by guoyuyan on 8/1/2023 in #✋|help
Template with Redis
Any update?
15 replies
RRailway
Created by guoyuyan on 8/1/2023 in #✋|help
Template with Redis
Thank you for your help. Looking forward to any updates.
15 replies
RRailway
Created by guoyuyan on 8/1/2023 in #✋|help
Template with Redis
15 replies
RRailway
Created by guoyuyan on 7/28/2023 in #✋|help
redis
You are correct. Thank you very much. Have a good day.
55 replies
RRailway
Created by guoyuyan on 7/28/2023 in #✋|help
redis
That's right, if I don't want to expose the koa, I need a proxy.
55 replies
RRailway
Created by guoyuyan on 7/28/2023 in #✋|help
redis
I guess I need proxy the request from next, otherwise, the request will send from the browser to koa service, and the browser cannot visit the private network. Am I right?
55 replies
RRailway
Created by guoyuyan on 7/28/2023 in #✋|help
redis
Should I use nginx to proxy these two service?
55 replies
RRailway
Created by guoyuyan on 7/28/2023 in #✋|help
redis
actually, in the next front end.
55 replies
RRailway
Created by guoyuyan on 7/28/2023 in #✋|help
redis
thanks, I will try
55 replies
RRailway
Created by guoyuyan on 7/28/2023 in #✋|help
redis
55 replies
RRailway
Created by guoyuyan on 7/28/2023 in #✋|help
redis
the port and host is from variable
55 replies
RRailway
Created by guoyuyan on 7/28/2023 in #✋|help
redis
const server = app.listen(port, host, function () {
const address = (() => {
const _address = server.address()
if (!_address) {
return ''
}

if (typeof _address === 'string') {
return _address
}

return `http://${_address.address}:${_address.port}`
})()

console.info(`kuai app listening to ${address}`)
})
const server = app.listen(port, host, function () {
const address = (() => {
const _address = server.address()
if (!_address) {
return ''
}

if (typeof _address === 'string') {
return _address
}

return `http://${_address.address}:${_address.port}`
})()

console.info(`kuai app listening to ${address}`)
})
55 replies
RRailway
Created by guoyuyan on 7/28/2023 in #✋|help
redis
I have set all of the service hosts to ipv6(::1), but it seems not to call kuai success by a private network. And after I set host to ::1, the public service is also failed.
55 replies
RRailway
Created by guoyuyan on 7/28/2023 in #✋|help
redis
The kuai-mvp-dapp-ui is created by next, the kuai service is created by Koa, and I want to call kuai api by private network from kuai-mvp-dapp-ui
55 replies
RRailway
Created by guoyuyan on 7/28/2023 in #✋|help
redis
yes, I have another problem with the private network between the two services. Do you have a template that how to use a private network?
55 replies
RRailway
Created by guoyuyan on 7/28/2023 in #✋|help
redis
I mistake thought that railway connect is used for other services.
55 replies
RRailway
Created by guoyuyan on 7/28/2023 in #✋|help
redis
I have connected Redis success with variables. Thank you for your help.
55 replies
RRailway
Created by guoyuyan on 7/28/2023 in #✋|help
redis
got that, I mistake thought there is exist one way to connect it to other services without username/password
55 replies
RRailway
Created by guoyuyan on 7/28/2023 in #✋|help
redis
55 replies