I launched my development environment in Okteto. The service is now up and running, but when I try to access it using the URL that Okteto generated for me, I get the following error:
What am I missing?
I launched my development environment in Okteto. The service is now up and running, but when I try to access it using the URL that Okteto generated for me, I get the following error:
What am I missing?
Ey Ramiro,
Could you check that your service is listening on the universal IPv4 address 0.0.0.0 and that your service is listing on port 8080 ?
Thanks @gabriel , listening on 0.0.0.0
solved the issue for me!
For future reference, this is how I did it on my express server:
const express = require('express');
const app = express();
app.use('/', myFunction);
app.listen(8080, '0.0.0.0');
Glad to hear.
Happy coding.