XAMPP Ports Change On its Own

后端 未结 12 1147
被撕碎了的回忆
被撕碎了的回忆 2020-12-14 16:18

My Apache Ports are set to:
80 and 443

Looking at the XAMPP control panel a few hours later, I noticed the Ports had changed to

12条回答
  •  被撕碎了的回忆
    2020-12-14 17:10

    This is the full scenario i am explaining here that will clear you out :

    We get a php page not responding, the first thing comes to our mind is : Is the apache service running on xampp ?

    we immediately go to the xampp to check, and what we see is , the port is not 80 !!! Definitely every one will deduce the result that its port issue (same case happened to me) .

    While its not the port issue. infact xampp changes the ports for it self. while requests are recieved on 80 as normal.

    The real issue at that time is : that our code is not connecting to Database.

    Hence . please keep in mind, there is no issue in that. Your apache is fine. Just go and check your db connection !! and cheers :)

提交回复
热议问题