Could be useful for testing Load balancer ports before your servers are in action.

javahttpserver

Usage:

[user@machine1 ]$ java -jar JavaHttpServer.jar
Utility to start a standalone simple http server
Usage:
  java -jar JavaHttpServer.jar <host> <port>

To start it on a local host:
  java -jar JavaHttpServer.jar localhost 8080
[user@machine1 ]$

Example running on machine1 and on port 1815:

[user@machine1 ]$ java -jar JavaHttpServer.jar  machine1 1815
 Simple http server started on
 HOSTNAME: machine1/191.17.51.130
 PORT: 1815
 Please use this address to test it http://machine1:1815/SimpleHttpserver