Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我们正在尝试从 Windows 机器访问在 Ubuntu 机器上运行的 Rails 应用程序,并且加载应用程序所需的时间非常慢。从 Windows 机器到 Ubuntu 机器的 ping 操作在 < 1 毫秒内返回。我该如何调试这个问题?
如果您使用命令'rails server'运行您的rails应用程序,默认情况下是webrick,其他机器加载需要时间,请尝试在您的ubuntu机器中的apache服务器中安装应用程序并使用您的系统ip和符号链接访问它.(http://0.0.0.0/symlink) 当你第一次重启你的apache服务器时,它会花费一些时间,然后它应该比在webrick中更短的时间加载。