All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
0 answers
709 views

How to pass https requests to http in nginx

I have a self signed certificate, I deployed my front end react app on nginx which is served by using HTTPS but front end is making call to back-end spring-boot app over HTTP and when i check inspect ...
Satish Lamak's user avatar
2 votes
1 answer
905 views

Node.js server does not respond externally

I made a simple node.js server: var http = require('http'); http.createServer(function (req, res) { res.writeHead(200, {'Content-Type': 'text/plain'}); res.end('Hello World\n'); }).listen(9999, '0....
Igor Savinkin's user avatar
0 votes
0 answers
819 views

Angular post request refused, but nodejs post request works

I have an express app which listening on port 5000 like this: app.listen(5000, "0.0.0.0, ()=>'Server started on' + 'port ' + 5000). When I try to send a post request by node script using axios ...
Daniel Davrayev's user avatar
1 vote
3 answers
1k views

NGINX frontend HTTPS server rejects requests to local backend http express server

I have an application that's split into two servers: one is a React application running on port 8080 and the other is an Express server running on 3001. The machine running this application has to run ...
Charlie Monnone's user avatar
2 votes
0 answers
211 views

How to reverse proxy a Nodejs instance on a directory of an AWS lightsail website

I have a website and Nodejs application hosted on the same AWS lightsail instance such that I want the website to connect to use the data hosted by the Nodejs application. The API is hosted on port ...
Philip09's user avatar
1 vote
2 answers
107 views

Can an HTTP request to an HTTPS server be forced to encrypt? [closed]

I have an Unbuntu server running NodeJS, where I want to upload some files. Some of the files contain some data that I would prefer would not to be leaked, but it wouldn't be a massive issue if ...
Asgeir's user avatar
  • 111
0 votes
2 answers
1k views

Red Hat - internal port forwarding blocked

I'm working on Red Hat, and I'm trying to set up a web service. I've implemented a port-forwarding from 80 to 8080 to access tomcat8 service. firewall-cmd --add-forward-port=port=80:proto=tcp:toport=...
Bastian Nanchen's user avatar
0 votes
1 answer
976 views

Run HTTP server on port 9090 (Node.js) and use Cloudflare

I wonder how I can add to Cloudflare subdomain to a specific port that can work in the browser. I open a socket using socket.io on port 9090 and have an index.html file server.listen(9090); if I ...
Bossa's user avatar
  • 3
0 votes
2 answers
174 views

Accessing node.js web server in a gce VM instance

We have setup a windows VM instance on gce for web server testing, with IIS and it works just fine: I can access my portal app from outside, since firewall has http/https traffic enabled by default, ...
Manuel Dias's user avatar
3 votes
2 answers
2k views

Should I worry about hanging sockets when setting keep-alive timeout to Infinity?

Some initial context to this question. Currently I have a application cluster deployed behind a ALB which maintains persistent keep alive connections with the application. This application is under ...
andrsnn's user avatar
  • 165
0 votes
1 answer
135 views

Is it a security risk to run a local node server next to public web api?

I am currently running a public web api that runs on PHP. I was thinking of adding a local node server with which the PHP can interact. It would allow me to do stuff like passing off long running ...
CantThinkOfAnything's user avatar
0 votes
3 answers
963 views

Server with http and https (node.js) - best approach

I have an app with node.js and express.js server and I want to provide access from 4 points: https://www.example.com http://www.example.com https://example.com http://example.com And I am not sure ...
Piotr Wójcik's user avatar
0 votes
1 answer
28 views

Creating uptime monitor - Identifying network bottleneck [duplicate]

So I'm working on a website uptime monitor that should check thousands of websites per minute by doing a simple http call to them and checking the received status code. I've tested it using multiple ...
Ahmed-Anas's user avatar
3 votes
3 answers
2k views

How can I configure IIS on Azure to stream chunked data from a Node.js app?

I have a Node.js app that uses Transfer-Encoding: Chunked to stream data over HTTP continuously until the client disconnects. When running a local instance of Node, it works fine, but when deployed to ...
Andrew Watt's user avatar
0 votes
1 answer
315 views

What happens when you make a HTTP request from 1 HTTP server on a VPS to another HTTP server on the same VPS?

I have 2 HTTP servers running on 1 VPS. If I make a HTTP request from 1 to the other. What happens exactly? Does it go through the internet and back? Or is it handled within the VPS? Hosting: Digital ...
Jeff's user avatar
  • 233
1 vote
0 answers
49 views

Domain is forcing HTTPS automatically when accessing by HTTP

I have a project based on Nginx + Node.js. When I'm trying to access it by my domain, it automatically redirects from HTTP to HTTPS and I get a 404 because my deployment is not ready for SSL. When it ...
Rubén Jiménez's user avatar
0 votes
1 answer
242 views

Proxy-attack simulation

I have a WS2008 x64 server, that has NodeJS application working on its 80 port. Server constantly receives queries from different IP-addresses that are trying to use my application as a proxy. NodeJS (...
Aleksandr's user avatar
  • 103
3 votes
1 answer
4k views

Someone tried to hack my Node.js server, need to understand a GET request in the logs

Alright, so I left my Node.js server alone for a while and came back to find some really interesting stuff in the logs. Apparently some moron from China or Poland tried to hack my server using ...
Abdullah Khan's user avatar
1 vote
1 answer
652 views

amazon aws instance blocks outbound http requests

I have an Amazon account with ec2 instances. we have a client which we need to interact with using soap. However, Amazon only lets us run X about of queries, and then we can not issue more from that ...
donald's user avatar
  • 233
0 votes
1 answer
3k views

Nginx + node.js single page app, sending /index.html and proxying together

I've got a Nginx running, with Node.js on port 3000. location / { root /path/to/my/site; index index.html index.htm; try_files $uri $uri/ @node; } location @...
Laurens's user avatar
  • 101
2 votes
1 answer
517 views

Plotted ab results of node, cluster and nginx, odd results?

I did a test with ab -n 10000 -c 1000 against node.js with different configurations, each returning the string Hello World!. Results seems odd to me. X axis is the number of requests, y is the ...
gremo's user avatar
  • 349
8 votes
4 answers
163k views

How do I check how many HTTP connections are open currently? [closed]

I want to know how many people are connected to my server. Since I'm doing comet applications, this is important
Alex's user avatar
  • 8,521
2 votes
2 answers
1k views

WebSocket Connection vs. Repeated GETs

I am prototyping an application using nodejs. But this question refers to hypothetical large scale roll out. What is more demanding on a server and/or bandwidth: WebSocket stay alive connections or ...
Ross's user avatar
  • 153
3 votes
2 answers
2k views

Nginx, HAproxy, Unicorn, Rails and Node settings

Our application is currently only a "regular" web app, with no fancy things like streaming HTTP or websockets. It's mostly a Rails app, served by a few (20 on 2 machines) Unicorn workers, proxied by a ...
Julien Genestoux's user avatar