Category "server"

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

Python Bottle: Can't connect to server or debug it

When I'm trying to run a server in this example I can see that it runs on the correct port. However, it is not possible to reach it externally (internal server

Passing JSON Data over TCP, Socket programming c#

I have created a desktop software server system, which accepts string from client and insert into database, here is the server code public class TcpServer {

What's the most appropriate HTTP status code to return for connection failures on the server

What's the most appropriate HTTP status code to return for connection failures on the server? For instance, if the server fails to establish a connection to the

How to reference server inbox instead of offline inbox?

I want to iterate through my entire Outlook inbox, including messages stored on the MS Exchange Server. However, when I reference my Outlook inbox via: NameSp

Android walkie talkie application unable to connect to server

I am trying to modify an open source application Android Walkie Talkie http://sourceforge.net/projects/android-ptt/ but the original application itself seems to