Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/obeliskos/simplewebserver
https://github.com/obeliskos/simplewebserver
static-server winforms
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/obeliskos/simplewebserver
- Owner: obeliskos
- Created: 2015-10-26T23:56:36.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2016-01-10T14:42:28.000Z (almost 9 years ago)
- Last Synced: 2023-03-06T02:03:10.682Z (almost 2 years 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![Screenshot](http://www.obeliskos.com/images/sws_ss1.png)
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/947709Once i determine a minimal syntax for a firewall 'rule' to open only a specific port, i will update this.