Tag Archives: 502

Problems encountered by Fiddler packet capture tool

What are the eight life cycle hook functions of Vue>>>

problems encountered :

Open the browser, enter the BugFree of the virtual machine address of this machine, and you will be prompted that you cannot connect

[Fiddler] The connection to ‘192.168.211.128’ failed.

Error: ConnectionRefused (0x274d).

System. Net. Sockets. Socketexception cannot connect because the target computer actively refuses. 192.168.211.128:80

At this time, I did not use Fiddler to capture packets and restart the virtual machine, but the same error was reported; So restart the browser, restart the computer does not help. Open the fiddler packet capture tool and report 502 error

After checking the HTTP status code on the Internet, the status code of 502 is: when the server working as a gateway or agent tries to execute the request, it receives an invalid response from the upstream server. That is, the network connection failed

solutions :

Method 1: the solution comes from the Internet, so I immediately try to modify it: in the filler options, remove the check in front of the option enable IPv6 (if available),

The specific path is tools – > Fiddler Options -> General -> Enable IPv6(if avaible)

However, the problem has not been solved after a meal of operation, and we continue to look for solutions:

Method 2: modify the hosts file and remove the comments in front of 127.0.0.1 localhost. The path to the hosts file is as follows:

C:\Windows\System32\drivers\etc\hosts

In this way, the problem is solved, and you can log in again.

Refer to the above methods

“ https://www.cnblogs.com/0weibin/p/3900240.html ”

3. Found that the problem has not been completely solved, after two days, the same problem still appeared, continue to find a way to solve….

Looking at the reference article again, I found that the biggest difference between me and the author was that although I didn’t open fiddler, my browser couldn’t access my virtual machine’s BugFree, so I went through the document “why can’t I log in to * *”, and found the problem. It turned out that my lampp didn’t start up…, which finally solved the problem.

Error 502 when accessing PHP file by phpstorm browser

Knowledge map advanced must read: read how large-scale map data efficient storage and retrieval>>>

Recently, when configuring lamp environment on Ubuntu, editing PHP file on phpstorm and browsing, the browser always prompts 502 bad gateway. Baidu has been unable to find a solution, and finally found it on stackoverflow, as follows:

sudoapt-getinstallphp5-cgi

Depressed, it turned out that I installed this guy less when I installed PHP