All Questions

Tagged with
Filter by
Sorted by
Tagged with
-1 votes
0 answers
24 views

Apache Error with authorisation?

Afternoon all I am using apache to host a node.js application. It suddenly stopped working. I am using a virtual host for the port. I have been debugging through errors but now I have this error ...
jitsujoseph's user avatar
0 votes
1 answer
135 views

Apache Cannot See PM2 Node Process

I have Apache running on Ubuntu 20 and I keep getting this error in /var/logs/apache2/error.log: [proxy:error] [pid 7064] (111)Connection refused: AH00957: http: attempt to connect to 127.0.0.1:4000 (...
Clifton Labrum's user avatar
0 votes
1 answer
134 views

Apache2 server getting so many unusal requests again and again

I am trying to configure the WordPress and NodeJS website together and I am using an apache2 server and ubuntu(20.04) virtual machine. I configured both applications successfully on my machine but ...
Piyush Mittal's user avatar
0 votes
2 answers
622 views

High availability with round robin - rsync and DB replication or a cluster?

I have one machine (centos7) with Apache, PHP, MariaDB and Nginx, Nodejs, MongoDB installed and being used by many different domains. I'd like to create a working mirror and can't decide between 2 ...
knm's user avatar
  • 5
0 votes
0 answers
75 views

OSS Server Written in Javascript, Linux Based Needs MIME Configuration

Scenario: There is a popular OSS application named Potree, hosted in GitHub. I am getting minimum support from its author, a very talented but busy guy who does not know much Linux or Apache. This is ...
David Alarcon's user avatar
0 votes
1 answer
99 views

What Prevents a Server Owned by a Non-Priviledged User to be Reached by Apache?

There is a popular Open Source application written in Javascript Node.js that listens to port localhost:1234 under my regular, non privileged account. When connecting from localhost everything works ...
David Alarcon's user avatar
-1 votes
1 answer
706 views

Cpanel NodeJS app displaying source code [closed]

I have set up nodeJS app on cpanel using cpanel nodeJS selector. Apps root directory is /home/userName/public_html/server. The app is working fine. Problem is if I send get request to example.com/...
Imtiaz Chowdhury's user avatar
0 votes
1 answer
110 views

Apache seems to redirect to domain name ever when not running

I'll preface this by saying I don't have a lot of experience with Apache. But currently I am running a Node process that's listening on port 8080. However, when I access that port via 'ipaddress:8080'...
Anthony's user avatar
  • 211
0 votes
0 answers
38 views

My server does not respond

I would like to have an address for my website like this : meteo.xyz.com I own the domain xyz.com I redirected the traffic from my domain to the digital ocean dns in my domain name provider : meteo ...
C Taque's user avatar
  • 123
0 votes
1 answer
104 views

I have an AWS Elastic Beanstalk - Node.js running on 64bit Amazon Linux/4.10.2. What server is it running?

When I ssh into the EC2 instance and look around the server configuration files, I see Apache config files, NGINX config files. Why are both servers there? Which one takes priority? Do both servers ...
V.Villacis's user avatar
1 vote
0 answers
44 views

How to block bad url path that is not part of my site from showing in google search?

I have got a site that is running on Node.js (Express) , and Apache httpd. Hundreds of requests are coming in from malicious IP's, which I'm proactively blocking. (I have a script that looks at the ...
xDG's user avatar
  • 123
1 vote
1 answer
2k views

My Web application gives CORS error after adding HTTPS using Let's Encrypt

This is my application : https://cfslpro.com/student_portal/ Front end is done by AngularJS and back end is done by Node.JS. Hosted in Apache server. ( Digital ocean Linux 16.04 ) You can try login , ...
Chanaka De Silva's user avatar
0 votes
1 answer
2k views

Nodejs/Apache config for proxy pass

I want to use Nodejs/Apache proxy pass to serve my APIs, but after add below apache(httpd) config, it seems that config not working. OS: CentOS 6 /etc/httpd/conf/httpd.conf: ... <VirtualHost *:...
Milad Jafari's user avatar
0 votes
0 answers
242 views

NodeJS application not running on centos

I am trying to run following simple nodejs code. when I open [IP ADDRESS]:PORT on browser, After a long loading I get request timeout. When I try to run code with node index.js I get Server ready ...
AliN11's user avatar
  • 101
0 votes
1 answer
39 views

Web caching with fallback and SSL

What would be the best way, or the different ways of caching data from an API for x minutes, with fallback to the last cache if api is down ? My situation: I have a website (running with apache) ...
Francois's user avatar
0 votes
1 answer
3k views

disable apache permanently and use only nginx [closed]

I'm running nodejs on localhost and nginx to set up reverse proxy server on a VPS. Using TMUX I'm starting both nginx and nodejs and detaching from the session. I have tried disabling apache alot ...
Black Heart's user avatar
2 votes
1 answer
2k views

How to use NVM to switch Node versions for the Apache user ('www-data') - a user with severely limited functionality?

I call a Node script from PHP on my Ubuntu web server, as in // The following PHP executes in the context of the Apache user - 'www-data' // $execstring = "node " . $args; exec($execstring, $output, ...
Dan Nissenbaum's user avatar
1 vote
0 answers
42 views

Redirect on Apache not working

I'm trying to create a subdomain for my node app in my domain with Apache in a Ubuntu machine. this is my app.conf ServerName mysubdomain.domain.com.br DocumentRoot /var/www/html/app/ ...
Filipe Ferminiano's user avatar
3 votes
0 answers
2k views

Setting up a reverse proxy from Apache to Node.js

I am attempting to setup a reverse proxy from Apache to a Node.js/Express.js app listening on port 8000. This server has cpanel installed but I have ssh access and pretty much ignore cpanel. I added ...
Ava's user avatar
  • 131
1 vote
1 answer
36 views

Securing traffic handled with mod_proxy

I have a machine running Apache and a Node.js server. Traffic is being routed through Apache using mod_proxy like so: <VirtualHost *:443> ServerName example.com ProxyPass / http://localhost:...
colonelsanders's user avatar
2 votes
0 answers
1k views

nodejs app with apache2 server always shows 503

I have an apache2 server which runs all my php web application and I am trying to run a nodejs application. I have enabled proxy and proxy_http but it always shows 503 service unavailable page <...
Asif Alamgir's user avatar
3 votes
2 answers
391 views

Pages hanging on waiting for query, consuming memory and take 2 hours to fail

See attached picture of Fusion Reactor, showing pages that just keep on running. Times have gone up into the millions and I've left them to see if they'd complete but that was when there were just 2 ...
Pete's user avatar
  • 293
0 votes
1 answer
453 views

Raneto on apache virtual host

I just installed Raneto (http://www.raneto.com) which uses nodejs and it listens on port 3000 and i can only view the webpages when i run npm start and go to http://server-ip:3000 while the session (...
uberbashguru's user avatar
2 votes
1 answer
79 views

Is it possible to deterministically trace how port 80 is forwarded and where the configuration is on a given system?

Is there a way to determine or trace how a port forwarding configuration is set up on a system running Ubuntu 14.04 LTS, on which there is a NodeJS service running and somehow accepting connections ...
zealoushacker's user avatar
2 votes
0 answers
763 views

From Http to Https NodeJS Websockets on Apache Server

Here is my problem. I have a virtual machine, on windows, the Apache server (2.4) is installed on it. The vm is on the network, so that other people can reach it directly on http://192.168.100.22 (...
Julo0sS's user avatar
  • 163
0 votes
0 answers
2k views

Service Temporarily Unavailable error when I try to acces a spacebrew server using nodejs?

I've tried to install Spacebrew for an Arduino Yun project on a 'openshift' nodejs server, but get the following error when I go to the url: Service Temporarily Unavailable The server is temporarily ...
Tommy Otzen's user avatar
19 votes
3 answers
9k views

Run multiple servers on the same port

I would like to run a XAMPP server, and a Nodejs server on the port 80. If the server get a HTTP request, then XAMPP will handle it, if the server get a Websocket request, then Nodejs How is it ...
iter-ator's user avatar
  • 211
-1 votes
1 answer
1k views

Make Node.js app port not accessible on other domains [closed]

I have a server with Parallels Plesk as Server Control Panel, apache2 (with mod_proxy and mod_http_proxy), nginx and Node.js installed. On this server I have multiple domains and subdomains, but only ...
Timo Mämecke's user avatar
1 vote
1 answer
4k views

route port 3000 to apache2 alias

I have a meteor application running on port 3000. I can successfully connect to the program with www.myurl.com:3000, but would rather connect to it via www.myurl.com/myappname. I started with the ...
user223470's user avatar
1 vote
1 answer
2k views

Servicing ws:// in Node.js via Tomcat and Apache

I've Googled various combinations of keywords but I cannot find a suitable description of what to do to get this to work. Currently, I have a web site running Apache 2 with everything except ports 80 ...
Ken Y-N's user avatar
  • 113
1 vote
1 answer
1k views

Apache webserver not starting - Not sure what's wrong

I had installed apache webserver on my local machine (Linux Mint 15) and everything was working fine until I tried to install npm/nodejs. I'm getting this error whenever I try starting apache - ...
Sterex's user avatar
  • 111
3 votes
1 answer
4k views

Map node js app to url path in Apache

I'd like to serve a node app as a path of my domain, like this: http://example.com/foo will actually serve the node app running on port 8080. I've looked into ProxyPass and ProxyPassReverse: ...
Creynders's user avatar
  • 153
0 votes
1 answer
434 views

Add IP address to Ubuntu 13.10 and separate webserver requests

I've got a Ubuntu 13.10 VPS server with 1 IPv4 (111.111.111.111) (and 1 IPv6 address). I recently requested an extra IP address (222.222.222.222) but I can't seem to figure out how to add the new IP ...
Chris's user avatar
  • 101
-1 votes
1 answer
223 views

Configuring CentOS apache server to default to a specific port for ExpressJS and Node [closed]

Completely new to Linux and virtual private servers so please bear with me. I have a webapp built on ExpressJS and NodeJS that runs on port 5000 of my server, accessible via web by typing: http://00....
Jascination's user avatar
-1 votes
1 answer
532 views

Running WordPress and Ghost on Apache with mod_proxy

I currently have three WordPress sites hosted on Apache with virtual host files to direct the right domain to the right DocumentRoot. Ghost (node.js) just came out and I've wanted to tinker with it ...
Jack Perry's user avatar
-1 votes
1 answer
270 views

What type of amazon ec2 instance should i take ? And how many of them? [duplicate]

I will be hosting a website . Our initial target will be around 50,000 unique visitors a day . Files are served using apache/php and the realtime events (likes,comments) are handled using a nodejs ...
AnuragD's user avatar
  • 133
5 votes
1 answer
26k views

Using an Apache VirtualHost to access a Node JS instance on the same server

I am using VirtualHosts to allow access to various domains and subdomians of my site on the same Apache server. Along the lines of: <VirtualHost *:80> DocumentRoot /var/www/site ...
JJJollyjim's user avatar
1 vote
1 answer
137 views

hosting node applications on a server already configured with apache

I'm currently interested in playing with node, so I want to build a small app for my company. We have an apache web server that handles our current web applications. My question is, how can I also ...
Greg 's user avatar
  • 231
0 votes
1 answer
1k views

Trying to get Apache and nodejs to play nice together, getting "setsebool: SELinux is disabled."?

I am running Ubuntu, and an Apache server. I wanted to try out nodejs, and I wanted to run it through a virtualhost on Apache. I read this article and tried to follow the instructions: http://...
Josh's user avatar
  • 181
1 vote
1 answer
1k views

HAProxy is caching the forwarding?

i'm trying to set up a server structure for an application i'm building in Node.js with socket.io. My setup is: HAProxy frontend forward to -> apache2 as default backend (or nginx, is ...
shadow_of__soul's user avatar
1 vote
1 answer
2k views

Node.js apps and wordpress on the same vps

So currently my linode (ubuntu 11.10) serves up three node.js apps for me using connect's vhost middleware listening on port 80. Here is an example of how vhost sets up a domain: var portfolio = ...
Msencenb's user avatar
  • 113
2 votes
1 answer
539 views

How to set up my Linode server to run multiple programs on different subdomains?

I just got a linode account and some domain names. With these raw materials in hand, here is what I'd like to do: example.com -- static hosting gitlab.example.com -- install gitlab here dev....
Robert Martin's user avatar
2 votes
2 answers
272 views

Does nodejs depend on apache common/util files?

I'm wondering if nodejs depends on apache common/util files? As I remember php requires and depends on some apache common files. So the question is: Does nodejs has built-in web serving functionality ...
Darkhan's user avatar
  • 121
1 vote
1 answer
140 views

Frequent Disk Write

I am making a dataminer which needs to write to around 50 different files every 30 seconds. Each file is around 50kb. This process will run 24/7, 365 days a year. The dataminer is build on Node.js and ...
Denis Pshenov's user avatar
2 votes
1 answer
2k views

Node.js and Apache on the same server, but different urls

I have a server behind the corporate firewall with only port 80 open. Is there any way to run Apache and Node.js separately on the same domain, but different urls? For example, can I run Apache on ...
tambourine's user avatar
1 vote
1 answer
677 views

Node.js and Apache on the same server

What'd I'd like to do is have a node.js program be hosted in public_html/<appname> and be accessible by heading to domainname.com:80/appname - the server is Ubuntu 10.04, I'm using Apache as my ...
jrg's user avatar
  • 219
6 votes
2 answers
4k views

Does it make sense to reverse proxy Node.js through Apache?

Perfomancewise, does it make sense to redirect requests from an Apache VirtualHost to a Node.js instance? Does proxying counterbalance the awesome Node.js performance? FYI: I also need a couple of ...
Daniel's user avatar
  • 215
3 votes
1 answer
707 views

Node.js forwarding to Apache

I want to use both node.js and previously written php code at the same time, so I setup an http proxy in node.js using node-http-proxy and am forwarding the traffic I want Apache to handle to a ...
Michael Younkin's user avatar
12 votes
2 answers
18k views

Akward delay to connect Apache's proxy request to a node.js App

In my Ubuntu Server 10.04 I'm running an example node.js app: var http = require("http"); function onRequest(request, response) { console.log("Request received."); response....
Herman Junge's user avatar
1 vote
2 answers
3k views

node.js apache virtual host configuration

My server's name goes like this: servername.myhostingcompany.com. When I run the sample node.js application, I can see the hello world message when I go to servername.myhostingcompany.com:8124. I don'...
user62609's user avatar