【sinatra】修改默认ip绑定

加入

# 默认的bind是127.0.0.1
set :bind, '0.0.0.0' #0.0.0.0之后你能通过lan访问这个服务器
原文地址:https://www.cnblogs.com/lizunicon/p/3536382.html