A simple Java HTTPServer with ServerSocket and the Socket classes.
Clone this repo to your local machine How To Guide
- Basic Knowledge of JAVA. Great tutorial on Javatpoint.
- Java JDK 8 at least installed on Local machine. Oracle Doc for Mac & Windows.
- An IDE installed in local machine. Check out intelliJ IDEA.
JavaHttpServer requires Java JDK 8+ to run. Setup development environment with desired IDE. Google step by step for desired IDE.
After cloning the repo to local machine, IntelliJ IDEA guide for cloning directly from IDE.
After setting up development environment.
- Build & Run
- Open browser
- Server is listening to port 8080, http://localhost:8080/ on browser
You should comprehensive outputs in the terminal....
- Access pages by using http://localhost:8080/404 and all respectively. If page not available it redirects to the 404.html page.
If you have a new feature idea, do well to create a PR.
Only one version of this software at this time.
- Divine Odazie
No license.