[erlang-questions] cowboy / start_http ... multiple ports?

t x txrev319@REDACTED
Sun Mar 9 08:11:43 CET 2014


Hi,

  Is there a way to run cowboy / start_http on multiple ports?


  I want port 8080 and port 7070 to serve different files (release vs
dev js files from clojurescript).

  I have tried the following, but get an error:
https://gist.github.com/txrev319/9443959

  Can someone let me know what I'm doing wrong?

Thanks!



More information about the erlang-questions mailing list