motivation
- To run the mochiweb dev server
environment
- Mac OS X 10.5
steps
follow Bob Ippolito’s tutorial from his blog
if your server returns [sourcecode lang=“erlang”] exception exit: {noproc,{gen_server,call, [httpc_manager, … [/sourcecode]
when you try to run
http:request("http://127.0.0.1:8000/")., start inets withinets:start().and then run the http request call, as described on Pragmatic Dave’s blog.