Category "server"

Is there a way to send message to a specific client in a multithreaded TCP server?

I have made a tcp multithread server which is always listening to new connections and at the same time handling existing clients. If i have 2 clients, lets say

Apache performance tuning for high traffic with MPM Event

I currently manage the following set of servers that serve about 700 web pages: SERVER 1 (WEB) Web server: Apache 2.4.29 with MPM Event PHP 7.2.22 CPU: Intel

Flutter web app does not work with local golang http server

I know it sounds like a beginner's question, but here I go: I've developed a small app to be used locally in restaurants for the waiters to be able to take orde

wildfly time out [300] is occurring while running the project in debug mode on server

when i run my project in the wildfly there is no issue . but in eclipse when i run the project in debug mode on server after 5 minutes ie 300 s a timeout erro

Nginx: log the actual forwarded proxy_pass request URI to upstream

I've got the following nginx conf: http { log_format upstream_logging '[proxied request] ' '$server_name$request_uri -> $ups

Is there any way to drop request inside plugin

Now I'm developing server application with ktor 2(2.0.0-eap-256). What I want to do is, according to header or other information, Reject or set adequate http st

How to deploy to Heroku if my client and servers are in separate folders?

I have a repo with 2 folders - 1 for the server, 1 for the client, and each folder has its own package.json file. I am trying to deploy the server to Heroku, bu

Node js express error hanlding middleware dont recognize 4 elements

I'm trying to create an error-handling middleware, and as you can see in the image attached when I'm making the app.use((err,req,res,next) => {...}) block

SMTP ERROR: MAIL FROM command failed: 530 5.7.0 Must issue a STARTTLS command first when using PHPMailer

I'm trying to get send an Email from my gmail account with PHPMailer. But when running the php-script on my localhost I get the following error: SERVER -> CL

I see some big company using firefox version 45.x.x to connect to their vpn, is there any concern of doing this? [closed]

why not just use usual vpn tools? like outline or openvpn or any else, is there any security concern? and of course that's an old version of f

Database error on website

I got this error trying to access our SCADA website: A Database Error Occurred Unable to connect to your database server using the provided settings. Filena

Express module.js:550 throw err; ^ Cannot find module

I'm trying to initialize a simple express app with the following code: const express = require('express'); const app = express() const bodyParser = require('bo

bind rails app on the IP provided by the host with 3000 port

I am running the rails app on VPS server provided by my host. I need to run the same local app to the IP provided by them. For eg myip:3000 Is it possible to

Netty shutdown/Stop UDP server

I'm trying to create Netty UDP listener. The problem I faced is that I can't stop udp server like tcp, the udp always is running, even with shutdowngracefully c

Difference between Localhost and opening html file

What is the fundamental difference running a file using a server in localhost, and opening a file such as file:///Users/$user_name/$your_directory/index.html, a

How to return error message objects to the client in Express?

I have this block of code: router.post('/users/login', async (req, res) => { try { const { email, password } = req.body const user = await User.fi

Error: ENOENT: no such file or directory, open When trying to access a directory with fs

I am not knowledgeable in nodejs or express, I have an API running on http://localhost:3000 and one of the endpoints call a function that uses file system to re

How to hide Yii Web Framework name from Wappalyzer?

I'm trying to hide the framework name Yii from Wappalyzer plugin in Chrome/Firefox. I need to hide the framework name as a part of security audit. I've turned

Reducing outbound transfer in nginx rtmp server

I have a nginx-rtmp server for real time hls streaming with three rtmp stream running. Right now all the hls are streaming are at 3-4mbps, is there any i can re

GlassFish Server HTTP Status 404 - Not Found

Product Version = NetBeans IDE 8.1 GlassFish Server Open Source Edition 4.1 I have a very simple web application created with Netbeans 7.0.1 which includes onl