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
104
votes
6 answers

How can I view the complete httpd configuration?

I'm trying to figure out what is the full complete configuration of an httpd setup. All the configurations files are scattered in different files (/etc/httpd/conf.d, httpd.conf, various mod configs) Is there a way to list the final httpd…
Gnafu
  • 1,591
  • 3
  • 10
  • 26
103
votes
2 answers

Golang read request body multiple times

I am writing my own logginMiddleware. Basically, I need to log body of the request and the response. The problem that I faced is that when I read body, it becomes empty and I cannot read it twice. I understand that it happens because it is of type…
Rustam Ibragimov
  • 2,571
  • 7
  • 22
  • 33
100
votes
10 answers

Set subdirectory as website root on Github Pages

I'm using Github Pages to host & serve a static website. The static website has the typical directory structure for an app: . ├ source/ ├ build/ │ └ index.html ├ .gitignore ├ config.rb ├ Gemfile ┆ ... └ README.MD index.html is under build/, so I…
Oriol
  • 11,660
  • 5
  • 35
  • 37
96
votes
2 answers

Systemd with multiple execStart

Is it possible to create service with the same script started with different input parameters? Example: [Unit] Description=script description [Service] Type=simple ExecStart=/script.py parameters1 ExecStart=/script.py…
Riccardo
  • 1,011
  • 1
  • 8
  • 7
91
votes
31 answers

Apache is not running from XAMPP Control Panel ( Error: Apache shutdown unexpectedly. This may be due to a blocked port)

I have installed XAMPP (xampp-win32-1.8.2-0-VC9-installer.exe) on Windows 7 successfully. But unfortunately, the following error was found during running Apache from XAMPP Control Panel: 5:38:38 PM [Apache] Error: Apache shutdown…
Ripon Al Wasim
  • 36,924
  • 42
  • 155
  • 176
82
votes
3 answers

Where is the data directory in Redis?

After writing some data to a redis server, I could read the data from a client. However, how can I find the data directory on the file system?
bafla
  • 1,029
  • 1
  • 10
  • 14
81
votes
16 answers

redis-server in ubuntu14.04: Bind address already in use

I started redis server on ubuntu by typing this on terminal: $redis-server This results in following > http://paste.ubuntu.com/12688632/ aruns ~ $ redis-server 27851:C 05 Oct 15:16:17.955 # Warning: no config file specified, using the default…
aruns
  • 1,049
  • 1
  • 8
  • 19
80
votes
2 answers

What is the difference between Tomcat and TomEE, TomEE and TomEE Plus

I want to deploy EJB ear in a server but I am really confused about choosing a server among tomcat, TomEE and TomEE Plus. What are the differences between Tomcat and TomEE? What are the new features in TomEE and TomEE Plus? In which case(s) does it…
Sasikumar Murugesan
  • 4,412
  • 10
  • 51
  • 74
77
votes
2 answers

How to install Certbot (Let's Encrypt) without interaction?

I am writing a bash script which bootstraps the whole project infrastructure in the freshly installed server and i want to configure ssl installation with letcecrypt certbot. After I execute line: certbot --nginx -d $( get_server_name ) -d www.$(…
Laimonas Sutkus
  • 3,247
  • 2
  • 26
  • 47
73
votes
2 answers

How do I solve the "server DNS address could not be found" error on Windows 10?

After installing Windows 10, I am continuously getting the "server DNS address could not be found" error. I will be able to use the Internet for 4-5 minutes, and after that for 20-25 min I will get the above error. How do I resolve this issue?
Dixit Singla
  • 2,540
  • 3
  • 24
  • 39
70
votes
5 answers

ipython server can't launch: No module named notebook.notebookapp

I've been trying to setup an ipython server following several tutorials (since none was exactly my case). A couple days ago, I did manage to get it to the point where it was launching but then was not able to access it via url. Today it's not…
LudoC
  • 919
  • 1
  • 8
  • 16
64
votes
4 answers

SSL Multilevel Subdomain Wildcard

I bought a wildcard certificate for *.example.com. Now, I have to secure *.subdomain.example.com. Is it possible to create a sub-certificate for my wildcard-certificate? If it is, how I can do this?
Attrachii
  • 673
  • 1
  • 5
  • 4
61
votes
15 answers

UnhandledPromiseRejectionWarning: Error: You must `await server.start()` before calling `server.applyMiddleware()` at ApolloServer

I am trying to start my nestJs server and It keeps giving me this error: UnhandledPromiseRejectionWarning: Error: You must await server.start() before calling server.applyMiddleware() at ApolloServer I'm not even sure where to debug from as I am…
Boladek
  • 611
  • 1
  • 4
  • 4
59
votes
23 answers

Getting the screen resolution using PHP

I need to find the screen resolution of a users screen who visits my website?
Elitmiar
  • 35,072
  • 73
  • 180
  • 229
58
votes
11 answers

django development server, how to stop it when it run in background?

I use a Cloud server to test my django small project, I type in manage.py runserver and then I log out my cloud server, I can visit my site normally, but when I reload my cloud server, I don't know how to stop the development server, I had to kill…
bricks
  • 697
  • 1
  • 7
  • 9