Last active
November 13, 2018 08:26
-
-
Save stleon/f0805fdbaa91acecab1ce7af1c6f2400 to your computer and use it in GitHub Desktop.
http server
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
erl -eval 'Dir = filename:absname(""), | |
ok = inets:start(), | |
{ok, Pid} = inets:start(httpd, [{port, 3333}, | |
{server_name, "test_server"}, | |
{server_root, Dir}, | |
{document_root, Dir}]), | |
Info = httpd:info(Pid), | |
io:format("~p", [Info]).' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment