Weird apache session (?) issues - php

I encounter a weird problem i cannot resolve. My setup is as follows:
1 centos server running apache
1 mySql backend
Running in the cloud
I got 1 pc, 2 laptops and 1 mobile (samsung s2) at home. When I browse to my website hosted on the apache server with my pc and 2 laptops at the same time everything works perfectly. But when I browse to the website with my mobile (wifi), I will get a timeout on my pc and 2 laptops:
This webpage is not available, ERR_CONNECTION_TIMED_OUT
After the website is loaded on my mobile everything on the pc and 2 laptops works fine. So everytime I use my mobile phone to browse the website I get an connection time out on my pc and laptops.
This problem also occurs on other networks. So it's not a problem with my home network/router configuration. At home i can only reproduce this problem with my mobile. Other people also reported this problem. The only link I have is that it always occurs when browsing on the same network.
What i tried to resolve this problem:
Looked in the apache configuration
Searched log files for clues
Disabled iptables on the webserver
But i cannot find any related settings that might cause this problem. It seems like when i browse to the website with my mobile that all other connections comming from the same ip address are blocked. When the site is fully loaded on my mobile this block/lock disappears.
Does anyone have a clue where i should start looking?
P.s. I did not mention the website url on purpose.

Related

DNS_PROBE_FINISHED_NXDOMAIN and domain is resolving

I hosted my PHP website on GoDaddy's Gen 4 VPS. after a while of users using it. The website couldn't be accessed by anyone and all the users received DNS_PROBE_FINISHED_NXDOMAIN. The Nameservers were pointed to the server IP and it was working fine. But when this message appears the domain was resolving, server was working and files could be accessed but when trying to open anything on this domain the users receive DNS_PROBE_FINISHED_NXDOMAIN. When restarting the VPS everything works fine. but this problem happens again and again after users use this website again.
Is there any solution for this or even does anyone faced this problem before or knows the root cause of it??
NOTE: The PHP code was tested before launching and the server specs were more than required.

ERR_CONNCTION_TIME_OUT on all hosted websites

I have domain from namecheap.com and they hosted on my dedicated server with bluehost.com. suddenly since last 2 weeks im facing an issue. on all my domain that i have from namecheap.com hosted on bluehost after browing for few mins gets ERR_CONNECTION_TIME_OUT error and then immediately page reloads automatically. Even on the Cpanel login page of these domains we get the same issue. Though we have some domains registered with bluehost it self and hosted on the same blue host server we dont get this error on those domain. We have contact bluehost they said all is fine from their end, we contacted namecheap.com they said all is good from their end. Now i am stuck what to check and where to check, we have reinstalled the website scripts disabled all the plugins but we still getting this error, it is not all the time when we try to browse website after two three pages we get this error and then its gone then after 2 3 pages it comes again and then gone.
Any sort of suggestions or help will be appreciated.
Typically, an error ERR_CONNECTION_TIMED_OUT occurs when you have intermittent Internet connectivity. I believe you won't face the same problem in other ISP. To fix that, you can try flushing the DNS of your local computer by issuing command ipconfig /flushdnsfrom command prompt. In addition, edit local computer hosts file located at Computer C:\ Windows\ System32\ Drivers\ etc\Hosts, and look for entry like 0.0.0.0 example.com. Remove that entry, save the file and restart your computer.

how to make multiple xampp server on different pc of same localhost address?

my title might not be correct but this is what i want to to:
i made a website on wordpress and hosted it locally on one of my college pc(2gb ram, intel core 2 duo), using xampp.
the website is about filling the form for student data. today almost 500 students tried filling it at once, due to which i was getting the below error
"Apache XAMPP server HAS STOPPED WORKING"
1. search online
2. close the program.
can anyone suggest me the setting that i should make?
or should i upgrade the pc?
or can i make multiple server like more than one pc with xampp installed?
like if one pc with the server fails to respond it should be shifted to another pc with same xampp server or something like this?
but with same database and address.?

website gives ERR_CONNECTION_REFUSED

My site is pcc.edu.ph domain name is hosted in zoneedit.com, and I am trying to launch my website and make it live on the internet, oh and one more thing I am also using wamp 2.5 as server, and I'm using my computer as a webserver. I have followed the tutorials that was posted over the internet but nothing worked, I think there is something wrong with the apache setup, any suggestions?
here is what my apache httpd.conf
https://www.dropbox.com/s/nig7aro3mfg7cv2/httpd.conf?dl=0
any more suggestions?

ERR_CONNECTION_REFUSED while accessing an image file on local network

I have 2 websites running in my IIS in one machine. One is the PHP website and another is the ASP.NET WebApi. The PHP site is my family website which is kind of an adapter between HTML and WebAPI. Now, in my PHP site I have a page which loads all family pictures from a selected folder on my home wifi network.
If I browse PHP site from the same machine where API is hosted then everything works great. But when I browse my PHP site from other machine in my home wifi network I see ERR_CONNECTION_REFUSED
As far as the permisssions are concerned I have IUSR full control over my image folder.
Any idea where I am missing the mark?
Your Internet is not working or the server is not set up to receive http request

Categories