HDD using xampp,enabled after bootup cannot communicate with the internet - Unless FW rules deleted 1st

MystaMagoo 1 Reputation point
2021-09-25T11:01:12.937+00:00

Ok,so I run xampp and a database server on a removable HDD also stated in bios as hot plug/removable.

Boot PC,start xampp,start db server,all runs fine.

data passes back and forth from db server almost immediately

website in xampp is connectable from the internet.

Now,if I've disabled the HDD on shutdown.....
Or if I unplug,wait,replug HDD.........

Boot PC,enable HDD,start xampp,start db server both run fine,locally.

BUT! no data passing and no website online

Found to be related to Windows Firewall.................

Windows for business | Windows Client for IT Pros | Networking | Network connectivity and file sharing
0 comments No comments
{count} votes

21 answers

Sort by: Most helpful
  1. MystaMagoo 1 Reputation point
    2021-09-27T07:18:00.027+00:00

    Router is an Asus RT-AC5300 running Merlin FW
    You can assign any IP to a rule or a drop down to choose attached devices.

    IP's are all fixed/assigned including internet/WAN IP,nothing is DHCP'd


    more test results...

    boot up,drives attached/enabled
    check port 80 on your link,not open.
    start xampp,check port 80 again,open
    db server receives info,all works
    stop xampp and its services,check 80,not open all working fine then.

    pull drive from bay,wait 10 secs,put drive back in bay
    start xampp,check port 80,not open but xampp and its services seem to be running fine,website connectable over localhost
    db server receives no info

    only a reboot with HDD attached seems to allow xampp/port 80 to work???

    twistin ma mellons man


    found in the router....... WAN - Virtual Server / Port ForwardingWAN - Virtual Server / Port Forwarding "When your network's firewall is disabled and you set 80 as the HTTP server's port range for your WAN setup, then your http server/web server would be in conflict with RT-AC5300's web user interface." Possibly? xampp uses port 80 and 443,could windows do a quick check when its booting up? xampp doesn't start until I start it,maybe the router is checking for port 80 when pc boots? anyone using port 80....yes me says xampp.....pc boots up with the rule working. gets no reply then it 'rules' that port 80 is for itself.....

    although my firewall is actually on


  2. MystaMagoo 1 Reputation point
    2021-09-27T18:36:13.553+00:00

    All works fine except the last part,phone/other pc does not see the website pages.


  3. Limitless Technology 39,921 Reputation points
    2021-09-30T09:14:03.45+00:00

    Hello,

    Thank you for your question.

    I believe there could some application configuration files or database files resides on that removable ( external HDD) due to which it can not work and it can not communicate with internet.

    Try plug the HDD on different port and try to change Driver letter and see if it works ,
    Also try to check if there is any folder shared from this removable HDD which stops working you remove HDD.


    --If the reply is helpful, please Upvote and Accept as answer--


  4. MystaMagoo 1 Reputation point
    2021-10-08T14:33:10.733+00:00

    HDD is removable and has game vendors,steam,oculus and origin and their game files on it.
    Origin and steam are relatively portable as in they are on the HDD and all I do on a clean windows install is start them.
    when a game is installed it is installed on the HDD.
    Oculus needs installing on the machine and then telling that the HDD is its game directory.
    None of them start on boot or at least have not been told to.

    xampp and a similar program fesl also do this on the HDD
    fesl talks to xampp for its database and talks to the game servers from the internet.
    when you start xampp firewall ask for perms for apache and mysqld,start fesl firewall asks again.
    allow all 3 programs,website works fine,fesl receives info from servers.
    stop xampp/mysql services,stop fesl,remove HDD,wait 5,plug HDD back in.
    start xampp,start fesl,they both work except no internet connection
    so no website shown online and fesl doesn't communicate with servers online.
    stop xampp/fesl,remove the 6 entries for apache,mysqld and fesl.
    start xampp,firewall asks twice,apache and mysqld,start fesl firewall asks for fesl.
    allow all 3 and everything works again.
    the game vendors never get asked anything or even started.

    so like @Limitless Technology says it seems to be something to do with databases and firewall?


  5. MystaMagoo 1 Reputation point
    2021-10-09T17:09:49.143+00:00

    Aaaaaaand now your confused too..............

    If I don't remove them xampp/fesl don't work.

    The same rule windows firewall makes/asks when any program asks for internet,that program and all ports.

    windows makes 2 rules for all programs that ask,1 TCP and the other UDP
    xampp has 2 programs that want access,apache and mysqld,fesl just 1 so in total 6 rules.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.