Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8034809
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T02:07:55+00:00 2026-06-05T02:07:55+00:00

I want to do some vhost-jiggery-pokery with node-proxy . Consider that I have a

  • 0

I want to do some vhost-jiggery-pokery with node-proxy. Consider that I have a slave script up and running, which listens on a unix-socket: /tmp/node-http/cubixcraft.de
When I want to load it into my node-proxy with the following script it simply doesn’t work. The webpage doesn’t respond.

var fs = require("fs"),
    httpProxy = require("http-proxy");

var options = {
    hostnameOnly: true,
    router: {
        "cubixcraft.de": "/tmp/node-http/cubixcraft.de"
    }
};

var proxyServer = httpProxy.createServer(options).listen(80);

When I use normal ports instead of socket-paths everything works just fine. I even fired a get request on the socket-path that successfully finished. The path really works. There seems to be something wrong with the node-proxy.

Is anybody experiencing the same problems?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T02:07:57+00:00Added an answer on June 5, 2026 at 2:07 am

    I wanted to do something similar recently, but according to the open github issue here http://github.com/nodejitsu/node-http-proxy/issues/104 it is not possible yet.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have some playing cards that flip over when you tap them. I want
I want some tutorials or some help from that i can get idea of
I often want some html like this: (<span id=items_shown>all</span> items shown) which I end
Below is my VHost (which is slightly modified to obscure some URLS): 1 NameVirtualHost
I have some graphics files that exist within a directory that a web server
I want some tags to be added to an article. The problem is that
I have some Django websites and I want to place them on the webserver
I want some content to only be printed in my node-type.tpl.php if the node
I want an application which displays the some file properties of a mediafile if
I have a cronjob, which is ni-on identical to other cronjobs that do work.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.