Questions tagged [server]
A server is a running instance of a software application capable of accepting requests from a client and giving responses accordingly.
server
25,323
questions
40
votes
3
answers
67k
views
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:...
39
votes
1
answer
18k
views
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 ...
39
votes
4
answers
159k
views
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 ...
39
votes
1
answer
16k
views
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 ...
39
votes
6
answers
2k
views
I am creating an email spammer, for an outstanding cause [closed]
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 ...
38
votes
1
answer
22k
views
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
{
"...
37
votes
4
answers
185k
views
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 ...
35
votes
1
answer
34k
views
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) =&...
34
votes
6
answers
29k
views
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/...
34
votes
13
answers
37k
views
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 ...
34
votes
6
answers
49k
views
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....
34
votes
5
answers
54k
views
MongoError: Topology is closed, please connect despite established database connection
I am writing a web application that uses asynchronous database requests as a part of the api. Currently, I have an async express route that awaits function returns from async functions. Both of these ...
34
votes
2
answers
63k
views
DNS Records Redirect www to non-www
I'm using Namecheap Domains and Vultr Hosting.
I'm trying to redirect DNS www to non-www.
www.example.com to example.com
I contacted Vultr and asked how to do this with their DNS Manager, they ...
33
votes
6
answers
66k
views
I have Godaddy Shared Web Hosting I need to host node.js website can host site? [closed]
Anyone have an idea to host a site or reference for how to install a node server on Godaddy. We have Godaddy shared hosting which provides full Cpanel and looking to customize this shared hosting. ...
33
votes
5
answers
145k
views
React tutorial - how do I start the node server for a reactJs application?
I'm just starting the react.js tutorial, I've downloaded the files and then it mentions:
"Follow your progress by opening http://localhost:3000 in your browser (after starting the server). "
I know ...
32
votes
6
answers
104k
views
X-Frame-Options in nginx to allow all domains
I'm using nginx as a reverse proxy for my website.
I want to be able to open my website in an iFrame from a chrome extension new tab html file.
For this, I need my nginx to set X-Frame-Options to ...
32
votes
5
answers
48k
views
The remote host may not meet vs code server's prerequisites for glibc and libstdc++ vscod
I was working on the host server. Everything was great till yesterday and today when I start my server, suddenly error occurs in VS code. And my server is not connecting anymore. What should I do? I ...
32
votes
4
answers
42k
views
Server side Java - where to start [closed]
I'm really starting to get a hang of the client-side Java programming, and from what I understand Java is great for developing stable server sides for large amounts of traffic.
The problem is that I'...
31
votes
9
answers
28k
views
How to correct system clock in vagrant automatically
How to Correct Timezone
Last time, I figured out how to adjust a system clock in vagrant server. However, when I halt the vagrant and start it again, the system clock is always 9 hours late. I can ...
31
votes
7
answers
156k
views
Where is the web server root directory in WAMP?
Also is the web server root directory the place where you put your site files and later acces them with localhost/file_name in the browser?
31
votes
6
answers
15k
views
How to Enable Directory Indexing on GitHub Pages
I need to display directory contents on GH Pages.
Would prefer
Automatically, without index.html
A tool or library for automatically generating the index.html
Any other method
So, if I have a FS ...
31
votes
3
answers
55k
views
Do GitHub pages support PHP? [closed]
Thank you for taking the time to review my request for help.
I've been using gh-pages to work on a build for a static site and the server has worked amazing for me throughout the build!
Although I ...
31
votes
2
answers
40k
views
How do I serve CSS and JS in Go
I followed the Go Writing Web Applications tutorial but for whatever reason I am having trouble getting the app to serve CSS and JS. If I run my static page without the Go server the page CSS works ...
30
votes
9
answers
44k
views
How to prevent Spring Boot daemon/server application from closing/shutting down immediately?
My Spring Boot application is not a web server, but it's a server using custom protocol (using Camel in this case).
But Spring Boot immediately stops (gracefully) after started. How do I prevent this?...
30
votes
3
answers
11k
views
Error: MongoDB: unknown version: mountain_lion
I am running these simple commands on mac:
brew upgrade mongodb
or
brew install mongodb
I am getting this error below:
Error: mongodb: unknown version :mountain_lion
If I run the simple ...
30
votes
1
answer
62k
views
Node.JS Error- process.env.NODE_TLS_REJECT_UNAUTHORIZED. What does this mean?
I am new to back-end development. And I am really enjoying writing code in node. However, there are few things I just can't seem to grasp. I kept getting the following error:
Error: ...
30
votes
5
answers
26k
views
Cocoapods "pod update" installs old pods
I am trying to set up CI on Xcode Server by creating a bot for an iOS app. I use CocoaPods so I'm using the script below to install the pods:
export LANG=en_US.UTF-8
#!/bin/bash
cd "$XCS_SOURCE_DIR/{...
30
votes
4
answers
46k
views
XMPP server : ejabberd vs openfire vs prosody
I'm trying to figure out how XMPP works (total beginner in protocols in general) and I want to set up a server.
So far, I saw 3 main challengers :
ejabberd
openfire
prosody
I checked on some ...
30
votes
5
answers
47k
views
Generate Swagger Document for existing NodeJS server
According to Swagger website, there are two approaches: Bottom-up and Top-down.
I have an existing NodeJS server that I'd like to deploy in the Azure enviroment, that require a swagger document (API ...
29
votes
1
answer
90k
views
Nginx location configuration (subfolders)
lets say I've a path like:
/var/www/myside/
that path contains two folders... let's say
/static and /manage
I'd like to configure nginx to have an access to:
/static folder on / (eg. http://example....
29
votes
3
answers
3k
views
nginx set remaining count for limit_req in X-RateLimit-Remaining header
I'm actually a little surprised that I couldn't find anything after a couple hours of googling, but the problem is as follows:
I want nginx to serve as my throttle for my API.
My config file ...
27
votes
10
answers
59k
views
cannot quit jupyter notebook server running
I am using Jupyter Notebook for a project. Since I ssh into a linux cluster at work I use
ssh -Y -L 8000:localhost:8888 user@host
Then I start the notebook with jupyter notebook --no-browser & ...
27
votes
11
answers
56k
views
RabbitMQ failed to start, TCP connection succeeded but Erlang distribution failed
I'm a new one just start to learn and install RabbitMQ on Windows System.
I install Erlang VM and RabbitMQ in custom folder, not default folder (Both of them).
Then I have restarted my computer.
By ...
27
votes
6
answers
119k
views
how to run a selenium-server-standalone?
I'm trying to run selenium server, and get errors:
rond-macpro:selenium eladb$ java -Dwebdriver.chrome.driver=./chromedriver -r selenium-server-standalone-2.44.0.jar
Unrecognized option: -r
Error: ...
27
votes
4
answers
15k
views
Chrome ignores the ETag header and just uses the in memory cache/disk cache
If I understand correctly, the flow for using ETags works as described now:
Browser sends the request to the server. Server sends back the image with an ETag
Browser saves the ressource along with ...
26
votes
4
answers
29k
views
How to increase message size in grpc using python
I am using grpc for message passing and am testing a simple server and client. When my message size goes over the limit, I get this error.
grpc._channel._Rendezvous: <_Rendezvous of RPC that ...
26
votes
3
answers
29k
views
Artisan server for LAN [closed]
I want to make LAN server with artisan server.
How can I run command like this
php artisan serve –-host=192.168.2.20 --port=8000
I tried but I am getting 'Too many arguments.' error
I know I can ...
26
votes
2
answers
9k
views
What is the difference between "docker images ls" and "docker image ls"?
What is the difference between docker images ls and docker image ls (with and without s (plural form))?
I'm confused about these two commands in Docker. docker images ls is listing images in docker, ...
26
votes
1
answer
3k
views
Locust.io Load Testing getting "Connection aborted BadStatusLine" Errors
I'm using Locust.io to load test an application. I will get a random error that I am unable to pinpoint the problem:
1)
ConnectionError(ProtocolError(\'Connection aborted.\', BadStatusLine("\'\'&...
25
votes
7
answers
101k
views
Unable to access Webmin through browser
I followed DigitalOcean's tutorials on how to set up your server with SSH, creating a new user, firewalls etc. The first tutorial in the series is linked under:
https://www.digitalocean.com/community/...
25
votes
9
answers
34k
views
Extract domain name from URL in Python
I am tring to extract the domain names out of a list of URLs. Just like in
https://stackoverflow.com/questions/18331948/extract-domain-name-from-the-url
My problem is that the URLs can be about ...
25
votes
2
answers
34k
views
non-RESTful vs. RESTful
I am really new to programming, and having some trouble understanding the concept of RESTful APIs. I've read about REST and RESTful APIs. I've looked through the questions already asked here in SO, ...
25
votes
2
answers
34k
views
Can i deploy my .war on an nginx server
I really love nginx for the stability and way
requests are handled.
And i really love tomcat for the java
and the user friendliness
Is there a way to deploy my .war on a nginx server ?
25
votes
5
answers
33k
views
What is the easiest way to run python scripts in a cloud server?
I have a web crawling python script that takes hours to complete, and is infeasible to run in its entirety on my local machine. Is there a convenient way to deploy this to a simple web server? The ...
25
votes
1
answer
35k
views
What is the nginx equivalent of .htaccess
I have shifted my web hosting which support nginx only. But i have no daam idea about it. Just wanted to know what is the .htaccess equivalent for nginx. What should be its file name, where should it ...
24
votes
10
answers
82k
views
Firebase Java Server to send push notification to all devices
I am trying to send a Push notification to my android device with the new Firebase service.
I registered and setup an app, also I put all the code needed to receive notification in the android app.
...
24
votes
2
answers
8k
views
Can Boost ASIO be used to build low-latency applications?
Can Boost ASIO be used to build low-latency applications, such as HFT (High Frequency Trading)?
So Boost.ASIO uses platform-specific optimal demultiplexing mechanism: IOCP, epoll, kqueue, poll_set, /...
24
votes
9
answers
95k
views
The requested resource / was not found on this server PHP
I ran the php server on cmd using php -S localhost:8080, like this:
And I got this problem opening the localhost:
What do I supposed to do?
23
votes
5
answers
21k
views
How to install pub (command line usage) for Dart on Ubuntu web-server
I've followed the instructions here (under the Linux tab) on installing Dart onto a Ubuntu web-server.
Dart itself works fine, but I can't use Pub commands (only Dart commands). How can I install ...
23
votes
9
answers
69k
views
Prevent PHP code from executing if form was not submitted [duplicate]
I have a php file say "check.php" in my website and it is executed when a form is submitted.
say my website is "myweb.com" and the php file is in a directory "PHP"
I want to prevent direct url ...