Quantcast
Channel: Active questions tagged ubuntu - Stack Overflow
Viewing all articles
Browse latest Browse all 6129

Can't connect to nodejs server on oracle compute instance

$
0
0

total noob to cloud services

vm image is ubuntu

tried entering into browser 192.18.132.24:3000

express app

const express = require('express');const app = express(); app.get('/', (req, res)=>{    return res.json({"Hello World": "Hi"});})app.listen(3000, ()=>{    console.log('server listening on port 3000')})

I have tried setting ingress rules on the subnet

0.0.0.0/0 TCP 800.0.0.0/0 TCP 443

I'm wondering if this has anything to do with the firewall. I looked at sudo ufw app list but all I can see is openssh


Viewing all articles
Browse latest Browse all 6129

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>