Questions tagged [webserver]

A software application that services requests from clients using the Hypertext Transfer Protocol.

8218 questions
2
votes
2 answers

How can I create a mail server?

I would like to have a server that is able to receive emails. Then I want to use PHP to program the way the emails are shown to the users. Can I do it purely with PHP? I mean, it is not a problem to send emails from PHP but I do not know if I can…
Roman
  • 124,451
  • 167
  • 349
  • 456
2
votes
0 answers

Generic docker image for various vhost configurations

I'm looking for a good practice for deploying my php web apps to a local docker container based on Ubuntu 18.04 and Apache 2.4. Depending on the kind of app, its base file is myapp/public/index.php (Laravel) or just myapp/index.php (plain vanilla…
Barret Wallace
  • 155
  • 3
  • 13
2
votes
2 answers

Access qt application as web page

I have a qt main-window application from which several dialogs are accessed. I implemented the server and client versions of the application using tcp/ip using c socket programming. But now I have been told to make the application accessible to any…
shanks
  • 23
  • 3
2
votes
1 answer

Does it make a difference where I root a FileServer?

At https://www.alexedwards.net/blog/serving-static-sites-with-go, there's an example of a static file server serving sites in a single directory: static. File: app.go ... func main() { fs := http.FileServer(http.Dir("static")) …
John Gowers
  • 2,646
  • 2
  • 24
  • 37
2
votes
1 answer

Why do I need to start a web server to use d3?

I read various d3js tutorials and nobody is explained why to use d3 you need to start a web server (whether in Python or Node, ...). So, why is it necessary?
user6008748
2
votes
1 answer

HttpListener won't work over network even with firewall allowed

I'm using the following code to add a http listener: public class WebServer { private readonly HttpListener _listener = new HttpListener(); private readonly Func _responderMethod; …
Jonas Kohl
  • 1,018
  • 1
  • 11
  • 28
2
votes
1 answer

IIS: ApplicationPool stops on web site access

I have a strange issue. I searched almost through the entire web and got many clues. However, I am not able to solve the issue. ---Problem Description--- If I create a new site IIS default configuration creates and assigns a custom application pool…
Bestname
  • 173
  • 2
  • 10
2
votes
1 answer

iPhone - No Internet Connection Display

I'm working on an app that requires access to a webserver. I'm trying to display a view that will appear if there is no internet connection... much like you see on the Facebook app (link). Any thoughts on how I can do this? Should I use a…
Adam Storr
  • 1,438
  • 2
  • 21
  • 46
2
votes
1 answer

make a localhost port accessible over internet - NodeJS

I'm asking this question specific to nodeJS , but maybe it applies to other web development frameworks as well. I have a nodeJS Express hello world application running on my laptop listening to port 3000(I'm using Linux Mint Sylvia 18.3).The…
2
votes
2 answers

pymysql.err.OperationalError: (1045, "Access denied for user 'MYID'@'localhost' (using password: NO)")

I am running a flask web server on server A, and I need to access a SQL database in remote server B. I am getting this error. pymysql.err.OperationalError: (1045, "Access denied for user 'MYID'@'localhost' (using password: NO)") Can someone help…
user9578771
  • 19
  • 1
  • 1
  • 2
2
votes
0 answers

Connect facebook in Web App using OAuth Servlet

I have been searching all over the internet on how to get Access Token from user using java language and finally I found one by using Servlet. But seems I cannot implement this servlet easily. As per what Mat B. said on this thread, servlet is the…
AyukNayr
  • 386
  • 2
  • 21
2
votes
1 answer

How do I write my NodeJS server to an existing domain?

Okay so I'm in like a really weird spot. I need to set up a nodejs server for a messaging app, and I want to put the server on a url I already have. I have full access my directory on that site (ex. I can access sitename.com/~mypage/) and do things…
SHiNi15__
  • 21
  • 1
2
votes
2 answers

run a few node.js web servers from within a node.js application

I would like to control a few web sites using a UI to start and stop them, changing the ports that the different web server's listen to. PM2 is a command line utility to manage node sites, but does not have a user interface that I can supply my…
user8076620
2
votes
0 answers

PHP built-in webserver does not serve any assets

I am developing a small web app using Laravel 5.6. I recently upgraded Laravel to 5.6 and therefore also updated PHP to version 7.2.3 as php7.1 is a requirement for Laravel. I am developing on a Windows 10 machine. For testing I am using the php…
caldicot
  • 195
  • 2
  • 15
2
votes
1 answer

How to disable HTTP OPTIONS method in Payara Server?

I am using a Web security analyzer tool: Acunetix. When I scan it, it says HTTP "OPTIONS is enabled". I did R & D on this, then I got know that we need to disable "OPTIONS method in Web Server". I am using Payara Server (Version 4.1.1.171.1) and not…
Vivek
  • 33
  • 3