Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

82
Views
Node.js routing to a site that is hosted on an other server

I have a mail server with a web client and I need to rout it through my main website.

    const express = require("express")
    const app1 = express()
    const app2 = express()

    app1.get("/", (req, res) => { res.send("foo") })
    app2.get("/", (req, res) => { res.send("bar") })
    app2.listen(3000)

    app1.get("/rout", `${app2}:3000`)
    app1.listen(3001)
about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!