https://github.com/obeliskos/simplewebserver
https://github.com/obeliskos/simplewebserver
static-server winforms
Last synced: 11 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/obeliskos/simplewebserver
- Owner: obeliskos
- Created: 2015-10-26T23:56:36.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-01-10T14:42:28.000Z (about 10 years ago)
- Last Synced: 2025-01-28T21:33:46.191Z (about 1 year ago)
- Topics: static-server, winforms
- Language: C#
- Size: 91.8 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# SimpleWebServer
A simple, static file webserver ui based on server class gist published here :
https://gist.github.com/aksakalli/9191056

While many static file webservers exist, i assembled this one to run on Windows RT 8.1 devices. It should work equally as well on x86 Windows as well.
While it can be used to serve up simple web sites, I have also modified it to correctly return the mime types needed for serving up a TridentSandbox web site with proper application cache, local storage and indexeddb.
By default, windows rt can serve up only to localhost. You need to configure firewall for external computers to see your webserver. Since Windows RT does not have a Windows Firewall control panel applet, you must utilize the command line.
**On Windows RT**, running an administrator command prompt you might disable windows firewall with this command :
```
netsh advfirewall set currprofile state off
```
To turn it back on you can run
```
netsh advfirewall set currprofile state off
```
More granular options might be found here :
https://support.microsoft.com/en-us/kb/947709
Once i determine a minimal syntax for a firewall 'rule' to open only a specific port, i will update this.