[erlang-questions] How change port in http module?

Michael McDaniel <>
Thu Mar 19 03:07:55 CET 2009


On Thu, Mar 19, 2009 at 04:37:36AM +0300, alekciy wrote:
> I use http module:
> Eshell V5.6.5  (abort with ^G)
> 1> inets:start().
> ok
> 2> http:request(get, {"http://samehost.ru", []}, [], []).
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

 2> http:request(get, {"http://samehost.ru:8080", []}, [], []).


~M


> 
> but web server samehost.ru bind to 8080 port, not 80. How I can send
> request to another port?
> 
> _______________________________________________
> erlang-questions mailing list
> 
> http://www.erlang.org/mailman/listinfo/erlang-questions

-- 
Michael McDaniel
Portland, Oregon, USA
http://trip.autosys.us
http://mmcdaniel.com/erlview




More information about the erlang-questions mailing list