504错误 [英] 504 error

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

问题描述

大家好,


我使用下面的内容,

Hi all,

I used the below,

展开 | 选择 | Wrap | 行号

推荐答案

你有一个web服务器或servlet容器等在你的本地主机上运行

你的默认端口(80)?


亲切的问候,


Jos
Do you have a web server or servlet container etc. running on your local host on
your default port (80)?

kind regards,

Jos



你有一个web服务器或servlet容器等。在您的本地主机上运行

您的默认端口(80)?
Do you have a web server or servlet container etc. running on your local host on
your default port (80)?



JosAH,我实际上是在一个独立的java程序中使用它们。所以没有servlet或Web服务器。对不起,我忘了在第一篇文章中告诉你。


fREDDIE

Hi JosAH, i''m actually using those in a standalone java program. So no servlets or web servers are in picture. Sorry i forgot to tell this in the first post.

fREDDIE



嗨JosAH,我实际上是在一个独立的java程序中使用它们。所以没有servlet或Web服务器。对不起,我忘了在第一篇文章中说出来。
Hi JosAH, i''m actually using those in a standalone java program. So no servlets or web servers are in picture. Sorry i forgot to tell this in the first post.



然后它永远不会工作,因为你明确声明要在本地主机上使用

http协议(默认端口80 )。没有什么可以听到

那个端口。如果你改变你的网址指向雅虎网站它是有效的,因为

雅虎确实有这样的服务器。


亲切的问候,


Jos

But then it can never work because you explicitly state that you want to use the
http protocol on your local host (default port 80). There is nothing listening on
that port. If you change your url to point to the yahoo site it works because
yahoo does have such a server available.

kind regards,

Jos


这篇关于504错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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