无法访问我的 reddit 安装 [英] Can't access my reddit installation

查看:60
本文介绍了无法访问我的 reddit 安装的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在我的服务器上安装了 Reddit 脚本,但我无法访问我的安装.我尝试访问 http://129.xxx.xx.xx(我的服务器 IP 地址但重定向到 reddit.local 并且这里看起来永远加载.

I install Reddit Script on my server but I can't access my installation. I try to access http://129.xxx.xx.xx (my server IP address but is has a redirection to reddit.local and here looks to load for ever.

我使用我的自动安装程序安装它,然后我只是按照说明文档底部提供的说明用一些数据填充脚本.

I install it using my automatic installer and after that I just populate the script with some data as per instruction provided in the bottom of the instruction document.

我想念什么?

推荐答案

您需要配置您使用的主机名(听起来像 reddit.local)以指向正确的位置.最简单的方法是通过 /etc/hosts 中的条目.

You'll need to configure the hostname you used (it sounds like reddit.local) to point to the correct place. The easiest method to do this is via an entry in your /etc/hosts.

如果您从服务器上的 localhost 请求它是否有效?

Does it work if you request from localhost on the server?

安装脚本设计用于测试(即在 Vagrant VM 中),而不是用于生产;如果您正在尝试建立一个生产网站,您可能需要遵循手册安装指南.

The install script is designed for testing (i.e. in a Vagrant VM), not production; if you're trying to set up a production website, you'll probably want to follow the manual install guide.

这篇关于无法访问我的 reddit 安装的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆