~ Website Publishing cannot be accessed ~ I bought a space and released the website in the space, using apache + mysql. The problem is that I can access both 127.0.0.1 and localhost, but I cannot access the Internet (directly access the IP address ).
I set allow from all in httpd and deleted deny from all. the listen is also set, and the firewall is disabled, but the access is still unavailable!
The webpage cannot be opened directly, and there is no "Forbidden You don't have permission to access/on this server." prompt ..
However, you can ping the IP address of another computer ~~
I don't know where the problem is ~~
Reply to discussion (solution)
Please provide a domain name!
Please provide a domain name!
The domain name is still on record, and I access it directly using an IP address. The IP address is 121.12.175.19.
Very slow ,? Method? Connect
Google Chrome cocould not load the webpage because 121.12.175.19 took too long to respond. The website may be down, or you may be experiencing issues with your Internet connection.
traceroute to 121.12.175.19 (121.12.175.19), 64 hops max, 52 byte packets 1 bogon (192.168.102.1) 1.928 ms 1.064 ms 1.557 ms 2 bogon (192.168.3.251) 0.893 ms 1.096 ms 1.290 ms 3 221.4.48.98 (221.3.48.98) 3.593 ms 8.879 ms 3.404 ms 4 120.80.173.73 (120.81.173.73) 8.358 ms 6.049 ms 120.80.173.69 (120.81.173.69) 3.562 ms 5 120.84.0.49 (120.84.0.49) 3.238 ms 3.240 ms 120.83.0.89 (120.83.0.89) 7.432 ms 6 219.158.14.241 (219.158.14.241) 4.793 ms 5.700 ms 219.158.19.9 (219.158.19.9) 3.718 ms 7 219.158.15.230 (219.158.15.230) 4.028 ms 4.554 ms 219.158.22.138 (219.158.22.138) 4.507 ms 8 202.97.15.169 (202.97.15.169) 7.733 ms 5.502 ms 7.867 ms 9 202.97.63.85 (202.97.63.85) 6.789 ms 5.671 ms 8.205 ms10 183.61.221.105 (183.61.221.105) 4.051 ms 4.543 ms 4.620 ms11 183.59.13.222 (183.59.13.222) 12.053 ms 10.832 ms 9.027 ms12 183.60.128.178 (183.60.128.178) 7.896 ms 12.108 ms 7.790 ms13 113.105.160.174 (113.105.160.174) 9.567 ms 11.880 ms 11.964 ms14 * * *15 121.12.175.19 (121.12.175.19) 8.581 ms 41.236 ms 47.295 ms
Ping is fast, ??? Face is very slow, OK ?? Put one ???? Face to face.
print_r(get_headers('http://121.12.175.19'));
Array( [0] => HTTP/1.1 200 OK [1] => Date: Thu, 02 Apr 2015 02:53:44 GMT [2] => Server: Apache/2.2.21 (Win32) PHP/5.3.10 [3] => X-Powered-By: Ftxia 6.0 [4] => Set-Cookie: PHPSESSID=q90d1eae6c799rc3srg02c0da0; path=/ [5] => Expires: Thu, 19 Nov 1981 08:52:00 GMT [6] => Cache-Control: private [7] => Pragma: no-cache [8] => Connection: close [9] => Content-Type: text/html; charset=utf-8)
There should be no problems
Have you specified a source?
echo file_get_contents('http://121.12.175.19');
Left navigation network
........
Is it yours?
echo file_get_contents('http://121.12.175.19');
Left navigation network
........
Is it yours?
No, not this.
echo file_get_contents('http://121.12.175.19');
Left navigation network
........
Is it yours?
Yes. I didn't specify the source. Where can I check whether the source is specified.
Ping is fast, ??? Face is very slow, OK ?? Put one ???? Face to face.
I tried to put a static page. The same is true.
Ratio? Strange, can file_get_contents? Use curl and ?? No.
66665: SOCKET
121.12.175.19: 80
Start Time: 11:42:19. 225
T = 189357 [st = 0] + SOCKET_ALIVE [dt = 17977]
--> Source_dependency = 66662 (CONNECT_JOB)
T = 189357 [st = 0] + TCP_CONNECT [dt = 11]
--> Address_list = ["121.12.175.19: 80"]
T = 189357 [st = 0] TCP_CONNECT_ATTEMPT [dt = 11]
--> Address = "121.12.175.19: 80"
T = 189368 [st = 11]-TCP_CONNECT
--> Source_address = "192.168.101.217: 54525"
T = 189368 [st = 11] + SOCKET_IN_USE [dt = 17966]
--> Source_dependency = 66678 (HTTP_STREAM_JOB)
T = 189368 [st = 11] SOCKET_BYTES_SENT
--> Byte_count = 437
T = 207334 [st = 17977] SOCKET_READ_ERROR
--> Net_error =-7 (ERR_TIMED_OUT)
--> OS _error = 60
T = 207334 [st = 17977]-SOCKET_IN_USE
T = 207334 [st = 17977]-SOCKET_ALIVE
Is it yours?
Can I access it?
It can be captured by a program, but cannot be opened by a browser.
Obviously, the js on your website is faulty.
Is it yours?
Can I access it?
It can be captured by a program, but cannot be opened by a browser.
Obviously, the js on your website is faulty.
No, neither can I use curl. In addition, if it is js ??,
View-source: http: // 121.12.175.19/
?? No ?? If JavaScript is used, why not ??.
Is it yours?
Can I access it?
It can be captured by a program, but cannot be opened by a browser.
Obviously, the js on your website is faulty.
But why can't I open my website locally with a browser, and I change my website to a static page. It should not be a JS issue.
It can only be understood as a firewall blocking
It can only be understood as a firewall blocking
Firewall disabled
Have you changed the homepage?
112233
Have you changed the homepage?
112233
Yes, it is changed to an html page, which is 112233.
However, I still cannot access it in a browser. I can get it again using file_get_contents. my system is win2003.
Use a domain name! Yes.
Use a domain name! Yes.
I tried it, and I cannot use a domain name .. Domain name: www.jmsugou.com
Ping the domain name is successful.
Order deny, allow
Allow from all
Order deny, allow
Allow from all
This setting still cannot be accessed.
If file_get_contents can capture the content, it indicates that the website settings are correct.
Therefore, do not find the cause in apache configuration.
Order deny, allow
Allow from all
This setting still cannot be accessed.
If it's through a vro or vSwitch or something! Ip ING is required!
Order deny, allow
Allow from all
This setting still cannot be accessed.
If it's through a vro or vSwitch or something! Ip ING is required!
Independent IP address, no router, no need to map
If file_get_contents can capture the content, it indicates that the website settings are correct.
Therefore, do not find the cause in apache configuration.
Thank you, moderator. although the problem has not been solved, thank you for your attention and enthusiastic help on this issue. at the same time, I have learned some knowledge!
It is best to paste the directories in httpd. conf
? No? User-agent restricted?
Sorry, this question
? Primary solution? ??
? Primary solution? ??
Later, I changed the wamp2.4 version. After configuration, I can access it. However, a new problem arises. After apache is started for a few minutes, it cannot be accessed. it must be restarted before it can be accessed. after a few minutes, it cannot be accessed again.
When I read the error log, the system prompts that the specified network name is no longer available. if I turn off AcceptEx, this error will not occur, but it will still be inaccessible. The error log and access log are not recorded.
1. file directory permissions
2. server settings
3. if gii is used to generate things, ip address restrictions apply.
Is permission settings... Set the website folder to 744?
I changed aphche to IIS. now it is normal. Thank you for your enthusiastic help!