当前位置:网站首页>Apache初体验
Apache初体验
2022-08-11 04:31:00 【京都小白】
遇到的bug
Apache运行时以一种访问权限不允许的方式做了一个访问套接字的尝试
当我要运行Apache的时候,程序表示当前接口被占用,防止日后自己忘记了当下的操作,记录一下更改方案。
打开Apache——>conf——>httpd.conf,找到listen设置,我这里的是第67行第10列,把80改成81,这样子Apache使用的接口就从80变成了81。
但是这样访问以后要记得加上端口号81。
Apache的启动及停止方法
- 命令提示符
httpd -k start //启动
httpd -k stop //停止

2. exe启动
路径:Apache——>bin——>ApacheMonitor.exe
点击exe,桌面右下方会出现对应的图标,右击该图标有开始和停止选项,点击上面的Open Apache Monitor后会有框弹出,这里就可以选择开始或是结束。

3. 自己手动打开
win+r输入services.msc,找到Apache的服务,右键也有对应的开始和停止。

测试一下
如果你没有更换端口,那就直接点击http://localhost,如果换了端口,像我换成了81端口,那么就点击http://localhost:81,成功跳转如下:
边栏推荐
猜你喜欢

LeetCode814算题第15天二叉树系列值《814 二叉树剪枝》

Provincial level of Echart maps, as well as all prefecture-level download and use

"104 Maximum Depth of Binary Trees" in LeetCode's Day 12 Binary Tree Series

自研能力再获认可,腾讯云数据库入选 Forrester Translytical 报告

Three 】 【 yolov7 series of actual combat from 0 to build training data sets

机器学习怎么学?机器学习流程

破解事务性工作瓶颈,君子签电子合同释放HR“源动力”!

What is Machine Reinforcement Learning?What is the principle?

Switch---Spanning Tree---Three-layer Architecture Summary

JVM 垃圾回收的概述与机制
随机推荐
I wrote some code in my resume, but I still can't pass the interview
MQ框架应用比较
洛谷P4061 大吉大利,晚上吃鸡
阿里云发布3大高性能计算解决方案
【FPGA】day21- moving average filter
MySQL database storage engine and database creation, modification and deletion
How to learn machine learning?machine learning process
Day20 FPGA 】 【 - block the I2C read and write EEPROM
Get Qt installation information: including installation directory and various macro addresses
机器学习中什么是集成学习?
The custom of the C language types -- -- -- -- -- - structure
干货:服务器网卡组技术原理与实践
【实战场景】商城-折扣活动设计方案
对象的创建以及显示转换
【服务器安装Redis】Centos7离线安装redis
力扣——青蛙跳台阶问题
网络安全培训机构哪家好?排名怎么选择?
0基础转行软件测试,自学3个月,浅拿12k*13薪offer
Switch---Spanning Tree---Three-layer Architecture Summary
Read the article, high-performance and predictable data center network