Category "server"

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

How to properly close a Node.js TCP server?

I couldn't find a clear answer on Google or SO. I know a net.Server instance has a close method that doesn't allow any more clients in. But it doesn't disconne

C# - Websocket - Sending Message Back To Client

I've been working on a C# Web Socket server for roughly 24 hours. I've currently figured out how to complete a handshake and get the connection initialized. Als

Cannot uninstall mysql-server-8.0

after installing mariadb with mysql already installed, i had issues and mysql wasent working so i tried to uninstall mysql and the package broke. after frustrat

Cannot uninstall mysql-server-8.0

after installing mariadb with mysql already installed, i had issues and mysql wasent working so i tried to uninstall mysql and the package broke. after frustrat

Wordpress WebToffee alternatives

I am planning to use WordPress WebToffee plugin to setup my online WooCommerce site. The plugin however only supports CSV files. I can easily convert all of my

Running 'monit restart all' gives invalid action

error: invalid action action= restart monit Server Info Ubuntu 16.04.4 LTS monit: Installed: 1:5.16-2ubuntu0.1

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.htm

Failed to load resource: the server responded with a status of 502 (Bad Gateway)

How can you solve a 502 error? I believe whats causing the 502 error is a nested loop that contains heavy calculations. It would take up to 2 minutes for it t

How to configure port for a Spring Boot application

How do I configure the TCP/IP port listened on by a Spring Boot application, so it does not use the default port of 8080.