【发布时间】:2016-05-19 20:02:32
【问题描述】:
这看起来像一个错误,但我不确定。 谁能告诉我在不同的端口号上运行 iex 是否有效。它始终使用端口 4000。
PORT=4001 iex -S mix phoenix.server
Erlang/OTP 18 [erts-7.3] [source] [64-bit] [smp:4:4] [async-threads:10] [hipe] [kernel-poll:false] [dtrace]
[info] Running AppMessenger.Endpoint with Cowboy using http on port 4000
Interactive Elixir (1.2.5) - press Ctrl+C to exit (type h() ENTER for help)
iex(1)> 19 May 19:53:40 - info: compiled 5 files into 2 files, copied 3 in 714ms
【问题讨论】: