I am trying to make a web page for my node js project. Currently I have
const express = require('express');
const app = express();
const http = require('http');
const path = require('path');
const httpserver = http.Server(app);
const gamedirectory = path.join(__dirname, "public");
app.use(express.static(gamedirectory));
httpserver.listen(3000);
But I don't have the ip and port of my project. How do I get these with node js?