Building and running the Mochiweb dev server

motivation

environment

  • Mac OS X 10.5

steps

  1. follow Bob Ippolito’s tutorial from his blog
  2. if your server returns
           exception exit: {noproc,{gen_server,call,  
              [httpc_manager,  
              ...  
    

    when you try to run http:request("http://127.0.0.1:8000/")., start inets with inets:start(). and then run the http request call, as described on Pragmatic Dave’s blog.