Closed schneiderlin closed 3 years ago
Hi @schneiderlin, this issue may be the same as #275. In particular, see this comment: https://github.com/elixir-nx/livebook/issues/275#issuecomment-845830230
@jonatanklosko I think we should add a check like this:
iex(1)> :inet.gethostbyname('josemac')
{:ok, {:hostent, 'josemac', [], :inet, 4, [{127, 0, 0, 1}]}}
iex(2)> :inet.gethostbyname('josemac1')
{:error, :nxdomain}
Basically, we get the host part and we try to validate it, if it doesn't validate, then we should fail to start?
thanks for quick response. livebook server --name live@127.0.0.1
works
@josevalim sounds good given it was not a one-time case, I've created #303 =)
Closing via #303 as our best effort.
@schneiderlin can you please do us a favor? Can you try latest main branch without the —name option and let us know if it works for you?
Environment
try to start elixir standalone runtime or evaluate elixir code block, got connection timeout. mix standalone also timeout
iex, iex -S mix work just fine. I don't know where to get more debug information