Questions tagged [web-development-server]

Use this tag for questions related to a Web-development Server, i.e. the backend/server side of a web application, when it comes to its development.

can be used in several situations, so please use one or more additional tags to better describe your case.

1473 questions
179
votes
8 answers

How to get access to webpack-dev-server from devices in local network?

There is some webpack dev server config (it's part of the whole config): config.devServer = { contentBase: './' + (options.publicFolder ? options.publicFolder : 'public'), stats: { modules: false, cached: false, colors: true, …
malcoauri
  • 11,904
  • 28
  • 82
  • 137
136
votes
19 answers

How to fix error- nodemon.ps1 cannot be loaded because running scripts is disabled on this system, (without security risk)?

Error on terminal: nodemon.ps1 cannot be loaded because running scripts is disabled on this system. For more information, see about_Execution_Policies…
100
votes
6 answers

Where does flask look for image files?

I am setting up a local server using flask. All I want to do currently is display an image using the img tag in the index.html page. But I keep getting error GET http://localhost:5000/ ayrton_senna_movie_wallpaper_by_bashgfx-d4cm6x6.jpg 404 (NOT…
Ari
  • 1,109
  • 2
  • 8
  • 3
57
votes
3 answers

How do I set up the hosts file for multiple domains/hosts with the same IP?

As you surely know you can map host names to IP addresses with the "hosts" file. This is very useful especially when you are developing as you can change localhost for project1. That part is clear, but unfortunately I can't figure out how to set…
Vinicius Santana
  • 3,936
  • 3
  • 25
  • 42
32
votes
21 answers

Unable to launch the ASP.NET Development server because port '1900' is in use

I was developing just fine in VS 2008 and testing my ASP.NET web site on my development server when suddenly I was unable to run my web site anymore. As soon as I hit F5, the message appears: Unable to launch the ASP.NET Development server because…
28
votes
4 answers

Why is it said that HTTP2 is a binary protocol?

I've just read an article about differences between http1 and http2. The main question that I have is when it says that http2 is a binary protocol but http1 is a textual protocol. Maybe I'm wrong but I know that any data, text or whatever format it…
Christian LSANGOLA
  • 2,947
  • 4
  • 22
  • 36
26
votes
5 answers

How does ServeHTTP work?

I am studying web development in Golang (Beginner) I came across some code I played around with and I'm not too sure why it works, I looked through the library source code and docs but I only have a vague idea it still isn't clicking. Note the code…
DanT29
  • 3,069
  • 4
  • 24
  • 32
23
votes
6 answers

file_get_contents(): php_network_getaddresses: getaddrinfo failed: Name or service not known

I'm trying to download an image from a server using a PHP script on my website on xampp server. The image is being downloaded using the function file_get_contents. The php code for downloading on the server is: if(isset($_GET['path']) &&…
22
votes
2 answers

Why does Visual Studio prevent me from seeing the .csproj file, and is there a way to force it open?

When I sought the hardcoded origin of the port number my Web API uses, I found it in the project's *.csproj file. Yet when I 2-click it from the Find Results window in Visual Studio, it won't open and I'm rather brusquely informed, "The document…
19
votes
6 answers

Disable Laravel Routing for a specific folder/route

I'm wondering how to disable the routing on laravel for a specific directory? I am hoping to run my main website off of laravel (I'm rewriting it into the framework), but I'd like to retain my current forum software! The problem is, when laravel…
Mitchell M
  • 475
  • 1
  • 7
  • 15
18
votes
2 answers

Downloading a file from an s3 Bucket to the USERS computer

Goal Download file from s3 Bucket to users computer. Context I am working on a Python/Flask API for a React app. When the user clicks the Download button on the Front-End, I want to download the appropriate file to their machine. What I've…
16
votes
6 answers

Python-dotenv could not parse statement starting at line 2

I have uninstalled and reinstalled python-dotenv still i get same error. Could anyone sort this?
16
votes
6 answers

Vagrant Up failing because the name already exists

I've recently started using Virtualbox, Vagrant and VVV for my local Wordpress development environment. It's very slick. One issue I've had is that after shutting things down with 'vagrant halt', the next time I start with 'vagrant up' I get this…
ensminger
  • 671
  • 3
  • 6
  • 14
16
votes
5 answers

using the pycharm debugger with a flask application factory

I am typing more print statements than code. It's killing me. If a flask development server is invoked via below, I can use PyCharm debugger from ersapp import app if __name__ == '__main__': app.run(debug=True) I am following the example in…
Brian Leach
  • 3,974
  • 8
  • 36
  • 75
12
votes
2 answers

Creating multiple sheets in CSV file

I am using superCSV to write data in csv format in my code. Its working absolutely fine and very efficiently , but now my requirement changed . I need to write multiple sheets in single xls file which is very time consuming task. So is there is any…
user3363969
  • 233
  • 1
  • 4
  • 15
1
2 3
97 98