localhost - 无法连接到我的 Tor 网站(网络服务器是用 wamp 制作的)并且我无法使用 127.0.0.1 连接到我的网站
问题描述
我正在尝试创建一个 .onion 网站,并且我已经成功地在端口 100 上设置了一个带有 wamp 的网络服务器。我可以连接到 localhost:100 和我的 IP:100,但我无法连接到 127.0.0.1:100。ping 127.0.0.1 给了我这些结果:cmd。
这是我的 torrc 文件中的内容:
HiddenServiceDir C:\Users\Tech\tor\hidden_service
HiddenServicePort 100 127.0.0.1:100
当我运行 tor 时,它会创建主机名文件,但当我尝试去那里时给我一个“无法连接”。我将展示我完整的 httdp 配置文件,以防它们有帮助。
httpd.conf --> https://pastebin.com/jYAQuiqi
httpd-vhosts.conf
# Virtual Hosts
#
<VirtualHost *:100>
ServerName localhost
ServerAlias localhost
DocumentRoot "${INSTALL_DIR}/www"
<Directory "${INSTALL_DIR}/www/">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require all granted
</Directory>
</VirtualHost>
我的主机文件也配置如下:
#
127.0.0.1 localhost
::1 localhost
我启用了 Internet Information Services Hostable Web Core。
(Windows 10 专业版;64 位)
这里有没有人可以帮助我?
解决方案
推荐阅读
- reactjs - this.props.navigation 在 React Native 中不起作用
- powershell - 您可以在 Powershell 中更改 ODBC DSN 驱动程序吗?
- model-view-controller - 未存储 Webhook C# MVC 控制器值
- r - 通过数据框解析以在 R 中创建字符串
- google-apps-script - Google 电子表格单元格中的 App Script 公式无效,需要强制重新加载
- laravel - stripe.confirmCardPayment 意图密钥的缺失值:值应该是形式为 ${id}_secret_${secret} 的客户端密钥
- javascript - 使用显示错误的 JS 在 ASP.NET 中自动注销
- java - 如何在SqlSessionFactory加载mybatis mapper xml(java配置)
- asp.net-core - 如何从不需要用户身份验证的 Azure AD B2C 获取 SPA 应用程序的 api 访问令牌?
- machine-learning - UndefinedMetricWarning:精度定义不明确,由于没有预测样本而被设置为 0.0