Questions tagged [server]

A server is a running instance of a software application capable of accepting requests from a client and giving responses accordingly.

A server is a running instance of an application (Software) capable of accepting requests from the client and giving responses accordingly.

Servers can run on any computer including dedicated computers, which individually are also often referred to as "the server".

In many cases, a computer can provide several services and have several servers running. The advantage of running servers on a dedicated computer is security. For this reason most of the servers are daemon processes and designed by the designers in such a way that they can be run on specific computer(s).

There are various categories of servers. Please refer to this Wikipedia page to learn more about the subcategories of servers.

25074 questions
39
votes
2 answers

Multipart HTTP response

The goal is for a Node.js / hapi API server to respond to a browser's AJAX request with two things: A media file (e.g. an image) A JSON object with metadata about the file These are two separate items only because binary data cannot easily be…
Seth Holladay
  • 8,951
  • 3
  • 34
  • 43
39
votes
6 answers

I am creating an email spammer, for an outstanding cause

In Cuba, web access is extremely censored, so I created a tool that allows more than 50,000 people to browse the Internet through email. Cubans send me an email with an URL in the subject line, and I email them back with the response. Read more at…
Salvi Pascual
  • 1,788
  • 17
  • 22
39
votes
1 answer

How do you authenticate a server to Firebase?

I have an app written on Firebase. Security rules and client side code aren't quite enough to make my app work. I need to connect a server to do a few tasks: Cleaning up denormalized data that's challenging to clean up…
mimming
  • 13,974
  • 3
  • 45
  • 74
39
votes
8 answers

Install Anaconda on Ubuntu (or Linux) via command line

I would like to install Anaconda on a remote server. The server is running Ubuntu 12.04. I only have access to this server via SSH. How can I install Anaconda via the command line?
JNevens
  • 11,202
  • 9
  • 46
  • 72
39
votes
1 answer

Why do whatsapp web application needs phone connection all the time?

WhatsApp just announced a new web application see here. For some reason, the interface requires the phone to be connected all the time. Is it for performance reasons (not to create additional load on their current servers)? Is there any other…
oshai
  • 14,865
  • 26
  • 84
  • 140
38
votes
1 answer

What does the command "node ." do?

The README document of my node server instructs me to run this command on my command prompt. node . What does this command do? How does it start my node server? My package.json contents are { "name": "uber-api", "version": "1.0.0", …
Rogen George
  • 455
  • 1
  • 4
  • 15
37
votes
3 answers

AllowZoneDrifting - Firewalld: What is it and should I disable it?

I am new here, so please forgive me if I am asking something silly. I have created a DO droplet on CentOS 8. After installing firewalld, I checked its status and it gives a warning. Apr 24 05:56:31 centos-s-1vcpu-1gb-blr1-01 firewalld[2956]:…
Manohar Bhatia
  • 371
  • 1
  • 3
  • 5
37
votes
8 answers

json-server cannot access via local IP

I'm using npm json-server from here. It used to work great for my needs: run a server on my PC and do GET requests to local IP (192.168.1.XX). I reinstalled it and now I can do requests only to localhost or 127.0.0.1. Can't do requests to local IP…
Choletski
  • 7,074
  • 6
  • 43
  • 64
36
votes
4 answers

How to fix "JARs that were scanned but no TLDs were found in them " in Tomcat 9.0.0M10

I'm new to Java EE and trying to work on ServletContextListener and listener job is connection to database bla bla .When I am trying to start the server (Tomcat 9) it is stuck on : "INFO: At least one JAR was scanned for TLDs yet contained no…
Coder ACJHP
  • 1,940
  • 1
  • 20
  • 34
36
votes
4 answers

How to find Private Key Location

I'm trying to access a server using Filezilla and was told I needed to use authentication with public/private keys. I created the keys using the Terminal, but cannot find them on my computer. This is where the key is located:…
I Like
  • 1,711
  • 2
  • 27
  • 52
34
votes
3 answers

Share types between client and server

I'm working on a project with a Node.js, Express.js & TypeScript backend (REST API) and a React, Redux & TypeScript frontend. In the backend I have created some types for example: models/Product.ts export type Product = { title: string …
Steven Soekha
  • 721
  • 1
  • 9
  • 20
34
votes
1 answer

new URL() - WHATWG URL API

I'm messing around with node and I'm trying to get an instance of the URL class (because of those handy properties). Like: const { URL } = require('url'); (...) http.createServer((request,response) => { let uri = new URL(request.url); …
Thom
  • 524
  • 1
  • 6
  • 12
34
votes
6 answers

multiple response.WriteHeader calls in really simple example?

I have the most basic net/http program that I'm using to learn the namespace in Go: package main import ( "fmt" "log" "net/http" ) func main() { http.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) { …
Corey Ogburn
  • 24,072
  • 31
  • 113
  • 188
34
votes
6 answers

How do I install/update to Postgres 9.4?

I just installeed Postgres, but it seems to have installed 9.3 and I'd like to start with 9.4 I simply did apt-get install postgresql from a new Ubuntu 14.04.1 machine. http://www.postgresql.org/download/linux/ubuntu/ says you can do: apt-get…
speg
  • 1,959
  • 6
  • 24
  • 34
33
votes
13 answers

java.lang.IllegalArgumentException: No suitable parent found from the given view. Please provide a valid view

my app crashes when trying to display server message and I think the problem could be with my getView(). below is the registerActivity were the crash occurs and my activity_register.xml import android.app.Activity; import…
Mani
  • 423
  • 1
  • 4
  • 13