All Questions

Tagged with
Filter by
Sorted by
Tagged with
-1 votes
1 answer
658 views

~90% error rate with Stripe webhooks, unpredictable response. Server issue?

I'm setting up Stripe webhooks for the first time. I've made hundreds of test requests and I've had an error rate of around 90%. It's unpredictable as to why the failures occur. The failure responses ...
Joseph's user avatar
  • 1
0 votes
1 answer
357 views

Is it possible to forward a port for one app only?

I have a Ubuntu server (18.04) which hosts some websites on Apache2, and also has a node app running. I want the node app to use SSL, but as it's not running as root it doesn't have permission to ...
DisgruntledGoat's user avatar
0 votes
1 answer
319 views

how to redirects HTTP to HTTPs using iptables and parse-server (Parse Server)

I'm dealing with SSL/https on my server. I configured two ports, one for HTTP (4000) and another for HTTPS (9080) using iptables: $ sudo iptables -t natL -n --line-number 1 REDIRECT tcp -- 0....
lito's user avatar
  • 99
0 votes
1 answer
687 views

Reroute LAN HTTP traffic to node.js proxy using iptables

I'm trying to redirect all http traffic generated in my LAN to a node.js proxy running on a specific machine. I'm using: iptables -t nat -A PREROUTING -s 192.168.1.3 -p tcp --dport 80 -j DNAT --to ...
Kayson's user avatar
  • 301
0 votes
1 answer
371 views

Multiple NodeJS apps forward to port 80

I have a server running CentOS. There are a few NodeJS apps running on it. For example: example.com:8000 > My first app example.com:8080 > A second app example.com:8888 > Another one The problem I ...
darkii's user avatar
  • 11
0 votes
0 answers
1k views

Run node server on port 8080, use iptables to redirect traffic

I saw in several venues that in order to run node as a user, and yet get it to listen to port 80, you can do a simple IPTables trick: sudo iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j ...
Merc's user avatar
  • 797
4 votes
2 answers
1k views

running node.js application with nginx

I have a node application running on port 8443. My nginx handles the web requests on port 80 and 443 and should redirect the user to 8443. here's my /etc/nginx/sites-enabled/default config: upstream ...
Markus's user avatar
  • 109
0 votes
1 answer
5k views

Configuring CentOS 6 iptables to use port 80 for NodeJS app running on port 3000

I'm running a fresh instance of CentOS 6 using AWS. There is something in iptables that is blocking my nodejs app. Here is my nodejs app: var express = require('express'); var app = express(); app....
Evan Siroky's user avatar
1 vote
0 answers
229 views

Can I use a reverse-proxy on a hosting service to redirect connections to multiple IPs while taking care of maintaining sessions?

I have a situation where I am trying to host my own web server because I need some custom software, including telephony, WebRTC, node.js, etc. However, my net connection in the town and country where ...
Sunny's user avatar
  • 381
2 votes
1 answer
6k views

Port 8080 remains closed even when opened with iptable and nodejs is listening on it [duplicate]

I am trying to install a nodejs server listening to port 8080 that I opened with iptable but when I run nmap or a web tools I always get the message that the port is closed. I'm on a Ubuntu vps. ...
Antonello's user avatar
  • 145
0 votes
1 answer
938 views

Nodejs remote debugging ports closed

I have a problem with nodejs remote debugging. I'm using centos on remote server and phpstorm on my PC. When I open putty: I type in command: node --debug-brk=5858 main_server.js, and the output is: ...
Marko Tamburic's user avatar
0 votes
1 answer
455 views

Ubuntu / node.js dropping incoming requests [closed]

I am getting dropped requests on a node.js server. I have simplified the test case to the point that it must be a problem with system setup. I am a developer and have very little experience with ...
Alex Dmitrevsky's user avatar
1 vote
0 answers
449 views

iptables redirect to 80 but origin port is still available

I've got a node.js process running at port 9500. I'm using iptables to redirect 80 to 9500 so - iptables -t nat -L outputs: Chain PREROUTING (policy ACCEPT) target prot opt source ...
stockholmux's user avatar
3 votes
1 answer
28k views

iptables port forwarding (prerouting port 80) and firewall not working together

I have read many articles and answers on this topic and I have been in discussion with Linode support, but no one seems to be able to answer my exact problem. Seems easy - I'd like to use a iptables ...
paintedbicycle's user avatar
0 votes
0 answers
386 views

iptables only partially redirecting ports

I am moving over everything that uses port 80 to port 9000 on my server, so I configured my apache + it's virtual hosts to listen to 9000 using ip xx.xx.xx.106, and I set up my iptables to preroute ...
Maruf's user avatar
  • 159
2 votes
1 answer
2k views

How to open a port below 1024 in Cent OS for socket.io?

I'm trying to open port 843 in my Cent OS 5.2, I added following line to etc\sysconfig\iptables : -A INPUT -p tcp --dport 843 -j ACCEPT and then updated my iptables service. I need to listen to that ...
Nasser Torabzade's user avatar
1 vote
1 answer
7k views

Can't connect to my Node.js server

I have a VPS (on linode) where I installed Node.JS on. My server.js file is as follow: var http = require('http'); http.createServer(function (req, res) { res.writeHead(200, {'Content-Type': 'text/...
Thomas Clackston's user avatar
1 vote
1 answer
9k views

iptables is blocking nginx from being a reverse proxy for node.js

Having some trouble with my very restrictive iptables setup. I have nginx (port 80) setup to be a reverse proxy in front of node.js (port 8080). When the iptables service is stopped, everything works ...
Eric's user avatar
  • 237
22 votes
3 answers
98k views

Node.js is not accessible from external IPs on Ubuntu

I'm sure this is very noobish, so forgive me. I'm trying to run a node.js server on port 8080 of my ubuntu 10.04. Here's the result of iptables -L on the server: Chain INPUT (policy ACCEPT) target ...
Mikael Gramont's user avatar