Questions tagged [devserver]

63 questions
110
votes
8 answers

Webpack Dev Server running on HTTPS/Web Sockets Secure

Normally in developer mode Webpack runs using HTTP. There is usually a web server serving content through HTTP and webpack using http/websockets on a separate port. Is it possible to run the web server on https and webpack on https/websocket secure…
Licx
  • 1,293
  • 2
  • 11
  • 12
42
votes
9 answers

How to make Django's devserver public ? Is it generally possible?

I'm currently trying out the Django framework and I would share/present/show some stuff I've made to my workmate/friends. I work in Ubuntu under Win7 via VMware. So my wish/desire is to send my current pub-IP with port (e.g…
V-Light
  • 3,065
  • 3
  • 25
  • 31
17
votes
8 answers

PyDev and Django: how to restart dev server?

I'm new to Django. I think I'm making a simple mistake. I launched the dev server with Pydev: RClick on project >> Django >> Custom command >> runserver The server came up, and everything was great. But now I'm trying to stop it, and can't…
Nick Heiner
  • 119,074
  • 188
  • 476
  • 699
9
votes
3 answers

dev-server HTTP Error 403: Forbidden

After updating from 1.7.5 (where everything worked fine) I'm getting a HTTP Error 403: Forbidden when trying to open any sites via localhost. Strange thing is I have pretty much the same setup at home as here at work and everything works there...…
Sasxa
  • 40,334
  • 16
  • 88
  • 102
8
votes
1 answer

jsessionID gets appended to the url when running GAE devserver

For some reason string like: ;jsessionid=SESSION_HERE gets added to urls when I visit my app deployed to GAE devserver. This messes things up since for some of the urls it cannot be parsed as as a GET parameter at all (sometimes it ends up with urls…
6
votes
3 answers

gettext translation not working on production system

I've encountered a strange problem when translating strings (in the admin) using django's gettext: Locally running the dev server all translations are displayed correctly in the admin, but when the project is deployed on the production server some…
Bernhard Vallant
  • 49,468
  • 20
  • 120
  • 148
6
votes
1 answer

How can one configure flask to be accessible via public IP interface?

I am unable to resolve any methods externally via their url once I set the SERVER_NAME or host property in flask. The following is my app init config: flask_sqlalchemy import SQLAlchemy from flask.ext.cors import CORS __authors__ = 'DarkStar1' from…
Dark Star1
  • 6,986
  • 16
  • 73
  • 121
5
votes
2 answers

React-native storybook without dev. server

I am using the react-native storybook. (https://github.com/storybookjs/react-native#storybook-for-react-native). With some dev. server there is a nice overview for the storybook. My question is: Is it possible to render the react-native storybook…
Peter
  • 1,280
  • 8
  • 15
5
votes
3 answers

VUE app change dev server from localhost:8080 to my-testing-web-address.com

I have a VUE application and I need to run it on an external link not on localhost. I tried to create a vue.config.js devServer: { host: 'http://my-testing-web-address.com', port: 8080, ... } and set the devserver, but still no…
5
votes
1 answer

Handling atexit for multiple app objects with Flask dev server reloader

This is yet another flask dev server reloader question. There are a million questions asking why it loads everything twice, and this is not one of them. I understand that it loads everything twice, my question involves dealing with this reality and…
Good Eats
  • 333
  • 3
  • 14
4
votes
1 answer

Using custom HTML with elm reactor, or another dev server, in 0.19

As this answer shows it's possible in Elm 0.18 to run elm reactor with a custom HTML file if this snippet is included in the HTML file: In 0.19, however, it…
glennsl
  • 28,186
  • 12
  • 57
  • 75
3
votes
2 answers

App Engine Development Server Does Not Reload Code When Changed

I'm working on a python app that will run on top of Google App Engine. I setup my app up with the following directory structure: approot/ app.yaml index.yaml myapp.py controllers/ some_controller.py some_controller1.py models/ …
joshwbrick
  • 5,882
  • 9
  • 48
  • 72
3
votes
2 answers

App Engine Dev App Server doesn't update in eclipse

I'm using Eclipse Java EE and I'm developing a google app-engine application using java and I'm using following Run configurations to run the application on localhost. Base directory : ${project_loc} Goals: appengine:devserver Maven runtime :…
u91
  • 254
  • 2
  • 10
2
votes
1 answer

esBuild serve over HTTPS

esBuild makes it pretty easy to serve http requests over it's own dev server, e.g. require('esbuild').serve({ servedir: 'www', }, { entryPoints: ['src/app.js'], outdir: 'www/js', bundle: true, }).then(server => { // Call "stop" on the web…
Yuriy Galanter
  • 38,833
  • 15
  • 69
  • 136
2
votes
3 answers

How can I configure Vite's dev server to give 404 errors?

Using Vite's dev server, if I try to access a non-existent URL (e.g. localhost:3000/nonexistent/index.html), I would expect to receive a 404 error. Instead I receive a 200 status code, along with the contents of localhost:3000/index.html. How can I…
user200783
  • 13,722
  • 12
  • 69
  • 135
1
2 3 4 5