由 Apache 和端口 80 工作

发布于 2024-12-24 20:40:00 字数 73 浏览 4 评论 0原文

后来我用apache工作,没有任何问题,但是安装SQL Server 2008后,apache就不能工作了。 我认为80端口有问题。

Later, I worked by apache and I didn't any problem, but after install SQL Server 2008, apache don't work.
I think there is problem on port 80.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

软甜啾 2024-12-31 20:40:00

我的 SQL 进程通常使用端口 80,但我不确定如何更改 MY SQL 使用的端口。
当您在网络浏览器中输入 http://localhost/http://127.0.0.1/ 或计算机的本地 IP 时,您会看到什么?

要查找哪个应用程序正在使用端口 80,请进入命令提示符并键入:

netstat -aon

向上滚动,直到看到类似以下内容:

TCP    0.0.0.0:80              LISTENING       ####

在显示 #### 的部分中,会有一个数字!

记下该数字并打开任务管理器并转到 i=on 服务并在“PID”选项卡下查找该数字。在我的例子中,它是 2264,所以我会寻找 2264。当你在那里找到它时,它会告诉你,但如果没有(如它所说的 PID=4),你可能已经打开了 IIS。因此,请转到

控制面板>> 管理工具>> 组件服务>> 服务(本地)并找到Web部署代理服务

停止该服务。另外,找到万维网发布服务并停止它......

My SQL Processes usually take port 80 but im not sure how to change which port MY SQL uses.
What do you see when you type http://localhost/ or http://127.0.0.1/ or your computer's local ip in your web browser?

To find which app is using Port 80 go on Command Prompt and type:

netstat -aon

Scroll up till you see some thing like:

TCP    0.0.0.0:80              LISTENING       ####

In the part that says ####, there will be a number!

Take note of that number and open Task Manager and go i=on services and look for that number under the "PID" tab. In my case it was 2264, so I'd look for 2264. When you find it there it tells you, but if it doesn't (like it says PID=4), you might have IIS on. So go to

Control Panel >> Administrative Tools >> Component Services >> Services (Local) and find Web Deployment Agent Service

Stop that service. Also, find World Wide Web Publishing Service and stop that...

日暮斜阳 2024-12-31 20:40:00

可能是因为SQL Server 2008占用了80端口。您可以尝试使用netstat命令查看是否被SQL Server 2008占用,如果是,则可以更改apache的配置或 SQL Server 2008 并将其中任何一个配置为新端口。

请参阅如何更改 SQL Server 2008 中的端口

it may be because of the port 80 occupied by the SQL Server 2008. you can try to see if the it is occupied by SQL Server 2008 using netstat command if so then you can change the configuration either of apache or SQL Server 2008 and configure any of to a new port.

see how to change the port in SQL Server 2008

醉南桥 2024-12-31 20:40:00
  • 查看该进程是否正在运行。
  • 查看apache日志
  • 怀疑其SQL占用了80端口。可以使用命令netstat找出所有监听端口来确定

首先我们来确定问题

  • see if the process is up running.
  • look the apache log
  • doubt its SQL taking port 80. You can find out by using command netstat to find out all the listening ports

Let's identify the issue first

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文