English 中文(简体)
如何更改 apache s 默认 tcp/ip 端口
原标题:How to change apache s default tcp/ip port
  • 时间:2012-05-21 21:50:14
  •  标签:
  • apache

我怎样才能让Apache使用3000港而不是80港 在外部服务器的铁路上运行我的红宝石?

最佳回答

编辑您的 httpd.conf 查找显示 listen 80 并将80 更改为您想要使用的任何端口的行 。

别忘了重新开始痛苦

问题回答

In Server version: Apache/2.2.22 (Debian) Server built: Feb 1 2014 21:26:04 There is file named ports.conf in /etc/apache2 dir and you can change listening ports from there.

在Ubuntu上,它有/etc/pache2/ports.conf





相关问题
Using SimplePie with CodeIgniter and XAMPP

I am using CodeIgniter 1.7.2 with XAMPP 1.7.2 on a Windows computer. I am trying to make use of SimplePie. I followed all the instructions I could find: a copy of simplepie.inc is in my applications/...

Multiple Sites with common files

I have developed over 50 sites that all use the exact same files other than CSS and IMAGES, I currently duplicate the files each time I create a new site and upload different css and images. What ...

http server validation

I finish a litle http server, writing from scratch. I would like to be sure that my imlementation is conforme to the HTTP specifications. W3C give us tools for HTML/XML conformance, but i see nothing ...

热门标签