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
Filter by
Sorted by
Tagged with
16 votes
12 answers
46k views

Easier way to parse 'query user' in PowerShell (or quser)

I currently have the following query in PowerShell: query user /server:$server Which returns output: USERNAME SESSIONNAME ID STATE IDLE TIME LOGON TIME svc_chthost ...
Tyler Dickson's user avatar
16 votes
3 answers
14k views

Server Side Implementation of requestAnimationFrame() in NodeJS

I have some questions regarding the wildly used requestAnimationFrame() functions. Recently I came across some implementation in multiplayer games who used it on the client instead of the server side. ...
HansMusterWhatElse's user avatar
16 votes
4 answers
14k views

NodeJS (Server): ReferenceError: require is not defined when type: module

On Node 13.8 I'm trying to use import / export. EG: import {ChatClient, Message, MessageParser} from './chat-client/module.js'; But when i do this, I get SyntaxError: Cannot use import statement ...
TheBritishAreComing's user avatar
16 votes
3 answers
9k views

Gunicorn + nginx - Ignoring EPIPE

I have an nginx-gunicorn-flask setup running on google compute and I keep getting the following from gunicorn: [2019-04-19 20:50:49 +0000] [3345] [DEBUG] POST / [2019-04-19 20:50:49 +0000] [3345] [...
K41F4r's user avatar
  • 1,503
15 votes
4 answers
21k views

How to access devices with IPV6 link local address from browser(like IE,firefox etc)?

Both my device and the host through which i'm trying to access are in the same subnet. Scenario: I have a switch and a server in same subnet. I have to access switch using ipv6 link local address ...
sanky's user avatar
  • 141
15 votes
3 answers
26k views

Sql Server 2014 - Update to windows 10 and can't connect to the Local Server

Recently I updated my Windows from 8 to 10 and suddenly my SQL Server 2014 stopped working. When I open the Management Studio and try to connect to the Server (local) i obtain the following error: ...
Tiago Neto's user avatar
15 votes
5 answers
26k views

How start web server to open page in browser in golang?

How do I temporarily open a web page in browser using golang? Like here is how it is done using HTTPServer in python.
Ciasto piekarz's user avatar
15 votes
3 answers
9k views

How can I copy and paste into console in digital ocean?

The console in the digital ocean like this : I try to copy and paste my username and password, but it does not work I try ctrl+v and right click on the mouse. It does not work How can I do it?
moses toh's user avatar
  • 12.8k
15 votes
2 answers
24k views

How to close socket connection on Ctrl-C in a python programme

s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) s.bind((HOST, PORT)) s.listen(1) any_connection = False while True: try: conn, addr = s.accept() data = conn.recv(1024) ...
David Gomes's user avatar
  • 5,855
15 votes
3 answers
39k views

Error with gunicorn server start

On an external server, I tried to run the command: gunicorn --bind 0.0.0.0:8000 jeremiesblog.wsgi:application I got this error: [2017-01-29 15:08:02 +0000] [19640] [INFO] Starting gunicorn 19.4.5 [...
user avatar
15 votes
2 answers
33k views

How to render static files within Gin router?

I want to serve a JSON file with gin server. And set some customize values in the HTML file. Use JavaScript in it to call the JSON file. My application structure: . ├── main.go └── templates ├── ...
02040402's user avatar
  • 769
15 votes
4 answers
55k views

Load local data into IPython notebook server

I did setup an ipython server for other people (in my company department) to have a chance to learn and work with python. Now I wonder how people can load their own local data into the ipython ...
Michael Hecht's user avatar
15 votes
1 answer
15k views

Why is the gzip minimum length directive not being respected?

If I understand correctly it's better not to gzip small resources as they might actually get bigger while still having a performance hit on the CPU. So using the gzip_min_length directive is an ...
Jonathan's user avatar
  • 1,041
15 votes
4 answers
78k views

Is there any possible ways to bypass cloudflare security checks?

We all know, sometimes cloudflare like to check their client visitor to make sure that the visitor isn't a real human. The security check require us to pass Google Recaptcha. What i want to ask is it ...
Andra's user avatar
  • 1,322
15 votes
4 answers
7k views

What is the difference between React Server Components (RSC) and Server Side Rendering (SSR)?

So with React 18 came RSC. I'd like to how is it different from SSR we have in NextJS.
Badal Saibo's user avatar
  • 3,011
15 votes
2 answers
22k views

How to use R studio on a remote server

Currently, i use R studio on my desktop, with all analysis run using my desktop machine Performance for this is really poor, so i'm getting an external server that is more powerful dedicated for R ...
shecode's user avatar
  • 1,716
15 votes
6 answers
90k views

Elastic Search Give an error No alive nodes found in your cluster

I am start working with elastic search.I successfully install elastic search on my server(Different from application server).But When I try to call Elatic search from my Application server it gives an ...
Tomas's user avatar
  • 514
15 votes
2 answers
568 views

Robust endless loop for server written in Python

I write a server which handles events and uncaught exceptions during handling the event must not terminate the server. The server is a single non-threaded python process. I want to terminate on ...
guettli's user avatar
  • 27.2k
15 votes
1 answer
8k views

Remove the following redirect chain if possible from Google

We have recently started using Google Analytics and activated Google Re Marketting on Analytics panel Now we are seeing the following error messages when testing with Pingdom: Its says Remove the ...
Fahad's user avatar
  • 1,983
14 votes
2 answers
35k views

Difference between maxstartups and maxsessions in sshd_config

I want to limit the total number of ssh connections. I have gone through many sshd manuals. They just say that these two fields can be used MaxStartups: the max number of concurrent unauthenticated ...
Gaurav Chandel's user avatar
14 votes
1 answer
12k views

How to serve http partial content with Go?

I have a webserver written in go and I'm serving some audio files from different sources (local, other servers, S3). I want to enable serving partial content for this files so the HTML audio tags are ...
Topo's user avatar
  • 4,903
14 votes
8 answers
20k views

Why is my favicon not working on server but is working locally?

New to web dev. I have a favicon that works locally but doesn't want to behave on server. The following is my favicon tag in the head tag: <link rel="icon" type="image/png" href="../favicon/...
J.S.Orris's user avatar
  • 4,723
14 votes
2 answers
35k views

libpulse.so.0: cannot open shared object file: No such file or directory

I am getting this error when trying to install a server. libpulse.so.0: cannot open shared object file: No such file or directory I run an ldd and there is the libpulse.so.0 but the script don't ...
xploshioOn's user avatar
  • 4,095
14 votes
1 answer
19k views

Posting form-data Parameters in the body using Volley

This is the Post Request done using postman The response I want to get is : { "result": "success", "reason": { "first_name": "aswath", "last_name": "AsH", "email": "selviragu09@...
Aswathaman Ragunathan's user avatar
14 votes
3 answers
50k views

Easiest way to get list of files in the server directory

I need to get array of all images (or simply of all files) in directory (e.g. www.example.com/images/). I prefer to use JavaScript but it's hard to make. So should I use PHP, meybe? Could you please ...
Jan Chalupa's user avatar
14 votes
3 answers
28k views

Cannot connect to python -m SimpleHTTPServer server

this this probably a very simple question, but I haven't been able to find an answer anywhere. On the online articles about it, they didn't show the exact process to share a directory using ...
Student Loans's user avatar
14 votes
2 answers
4k views

pyramid pserve server as https

Is it possible to run Pyramid's pserve such that it starts an https server (for example https://0.0.0.0:6543)? I would like to gear up my application for https locally if possible.
Roman's user avatar
  • 9,105
14 votes
2 answers
74k views

The requested address is not valid in its context error

I was following a tutorial called "Black Hat Python" and got a "the requested address is not valid in its context" error. I'm Python IDE version: 2.7.12 This is my code: import socket import ...
MountainSide Studios's user avatar
14 votes
2 answers
14k views

How do multiple servers work in sync for web application?

My first question is, I often read about people using multiple dedicated servers to run their websites, and process queries from users. But how do they exactly do this? I mean, when I enter a domain ...
philly77's user avatar
  • 519
14 votes
2 answers
28k views

Reload python flask server by function

I'm writing a python/flask application and would like to add the functionality of reloading the server. I'm currently running the server with the following option app.run(debug=True) which results ...
mohrphium's user avatar
  • 353
14 votes
3 answers
664 views

Android Server Socket

I am unable to reach the Android Server on the emulator from a program on my desktop, how do I solve it? Some code (from How to find LAN ip address of android device?): public static ArrayList<...
theAnonymous's user avatar
  • 1,742
14 votes
1 answer
3k views

grpc-dotnet Server without ASP.Net

I am currently trying to port my Project (.Net Core) from "Grpc.Core" to "grpc-dotnet", since Grpc.Core is now in maintenance mode and will be deprecated in about a Year. The ...
xTeare's user avatar
  • 141
14 votes
1 answer
23k views

PostgreSQL could not receive data from server: Software caused connection abort (0x00002745/10053)

I tried to establish a connection in pgAdmin to the PostgresSQL server. I always get the message: could not receive data from server: Software caused connection abort (0x00002745/10053). I read ...
S. Maurer's user avatar
  • 161
14 votes
2 answers
3k views

Does nginx HttpLimitReqModule support per hour/day/week?

I seek a solution to do rate limit for HTTP API, for Nginx, there is already a module HttpLimitReqModule support this feature. But refer to the document, this module only supports per second and per ...
linbo's user avatar
  • 2,401
13 votes
2 answers
31k views

Node, Express - CANNOT GET route

I am building an Express app and having some issues with routing. My '/' route is working perfectly, however other routes are not. I've looked into other questions people have posted and these have ...
Jared's user avatar
  • 641
13 votes
4 answers
41k views

TypeError: require(...).listen is not a function

I wrote this, but errors come up and i dont know how to fix var http = require('http'); var clientHtml = require('fs').readFileSync('client.html'); var plainHttpServer = http.createServer(function (...
user1467328's user avatar
13 votes
2 answers
9k views

Unix sockets slower than tcp when connected to redis

I'm developing high performance web server that should handle ~2k simultaneous connections and 40k QPS, achieving resp time < 7ms. What it does is querying Redis server (running on the same host) ...
realmaniek's user avatar
13 votes
2 answers
21k views

PHP Firebase help - Set up JWT

On my server I am running a few PHP files that read my Firebase Realtime Database. According to Firebase's documents I need to set up custom token to get my Firebase PHP Client running. The Firebase ...
temp_'s user avatar
  • 1,287
13 votes
2 answers
5k views

How can I run the Ruby on Rails console in production without executing Spring?

Every time I run rails console on my production server, spring starts and I forget to stop it.. and some of my RAM goes away... Is there some way to prevent Spring from starting in a production ...
Samuel G. P.'s user avatar
  • 3,044
13 votes
9 answers
99k views

Start an application at system start without login

We have a new server running and we got some new programs doing import routines. So far so good... But there is one program that is put into autostart folder. So it doesn't run until admin logs in and ...
Daniel's user avatar
  • 835
13 votes
1 answer
13k views

Only allow certain countries traffic access specific page

I am using --with-http_geoip_module for identify traffic. There are some pages that I only want certain country to access. Here is configuration: For http http{ geoip_country /usr/share/GeoIP/...
dev-jim's user avatar
  • 2,474
13 votes
4 answers
26k views

Intercepting/Logging requests and Responses in GRPC

I'm developing a chat app using GRPC in which the server receives information from the client and sends it back out to all the clients connected to it. For this, I've used Saturnism's chat-example as ...
Umer Farooq's user avatar
  • 7,446
13 votes
2 answers
18k views

SimpleHTTPServer not found python3

I'm trying to write a simple server in python. So after watching tutorial, I'm trying to import a few modules. from http.server import HTTPServer from http.server import SimpleHTTPServer As the doc ...
Danial's user avatar
  • 582
13 votes
7 answers
26k views

live server vscode on another computer

I have 2 computers. when I open the project with live server on the first one it gives me this url 127.0.0.1:5500/index.html I want to put that url on the other computer's browser but it doesn't work. ...
rony's user avatar
  • 131
13 votes
4 answers
28k views

ImportError: No module named 'appdirs'

I'm trying to get a program called hangoutsbot to work on my linux server. I'm currently using a digital ocean server. However, every time I try to run the script it gives me an error that says: ...
Alex's user avatar
  • 528
13 votes
4 answers
15k views

Docker: Error response from daemon: failed to create endpoint priceless_noether on network bridge:

I'm running an ubuntu server 21.10 on RasberryPi4.Docker version 20.10.7, build 20.10.7 0ubuntu5. I tried docker prune and to reinstall docker fully and even reinstall ubuntu, but nothing seems to ...
Krystian Kan's user avatar
13 votes
1 answer
15k views

How do I pass returnUrl to Login page in Blazor Server application?

I have a simple Blazor server application, with Identity using Individual Authentication. I created the app from the VS 2019 standard dotnet new template. In some parts of the app I would like to ...
Randy Gamage's user avatar
  • 1,881
13 votes
3 answers
14k views

How to make the server backend of a mobile app?

I am an Android developer and I want to make an app which shows users on a map and performs tasks based on their location. The whole model of the app has to run in the server. I need an API which: ...
Dan's user avatar
  • 1,182
13 votes
2 answers
5k views

Do I need my own server to use the Stripe API?

I want to implement payments in my app via Stripe. I'm reading their documentation and it keeps mentioning that i wll use my own server to charge someone after i retrieve a token from Stripe. (stripe ...
Izak's user avatar
  • 939
13 votes
1 answer
11k views

Run custom TextSecure (Signal) server

I am trying to start my custom TextSecure (Signal) server. I want to use it for all functions that Signal has (both SMS and telephony). I believe that I also need redphone server to run telephony. I'...
horin's user avatar
  • 1,664