const express = require('express'); const app = express(); const port = 80; app.use(express.text()) ips = [] app.get('/', (req, res) => { ips.push(req.ip) console.log(ips) stringToSend = '

TON IP : ' + req.ip + '

' ips.forEach(ipLol => { stringToSend += '
SAUCISSON !! ' + ipLol }); stringToSend += '

' res.send(stringToSend) }) app.listen(port, () => { console.log(`Sample text`); })