1. Problem description
Error in starting mitmproxy script
PS D:\D1\code\AutoTest\python_interface_autotest\PythonInterfaceAutoTest> cd .\chapter7\mitmproxy\
PS D:\D1\code\AutoTest\python_interface_autotest\PythonInterfaceAutoTest\chapter7\mitmproxy> mitmweb -s .\get_data.py
Error starting proxy server: OSError(10013, 'Made an attempt to access the socket in a way that access rights are not allowed.', None, 10013, None)
PS D:\D1\code\AutoTest\python_interface_autotest\PythonInterfaceAutoTest\chapter7\mitmproxy> mitmweb -s .\get_data.py
Error starting proxy server: OSError(10013, 'Made an attempt to access the socket in a way that access rights are not allowed.', None, 10013, None)
2. Problem solving
1. Specify the port number to resolve the port conflict
PS D:\D1\code\AutoTest\python_interface_autotest\PythonInterfaceAutoTest\chapter7\mitmproxy> mitmweb -s .\get_data.py -p 8083
Web server listening at http://127.0.0.1:8081/
Loading script .\get_data.py
Proxy server listening at http://*:8083
2. Query the process corresponding to the default startup port number 8080 and close it
Read More:
- Error:Could not install packages due to an OSError:[WinError 5] Access denied
- [Solved] RuntimeError An attempt has been made to start a new process
- [Solved] mindinsight modelart Error: RuntimeError: An attempt has been made to start a new process before…
- [Solved] Python Error: An attempt has been made to start a new process before the current process has finished …
- RuntimeError: CUDA error: an illegal memory access was encountered
- Crawler overtime error socket.timeout: timed out/NameError: name ‘socket‘ is not defined
- [Solved] ProxyError: Conda cannot proceed due to an error in your proxy configuration.
- [Solved] ValueError: row index was 65536, not allowed by .xls format
- [Solved] Odrive gui Error: Do not use the development server in a productioun and supported version of the Socket
- Mac Upgrade pip Error OSError: [Errno 13] Permission denied: ‘/Library/Python/2.7/site-packages/pip-9.0.1-py2….
- How to Solve Error: Unverified HTTPS request is being made
- Extracting Data from XML (Using Python to Access Web Data)
- OSError: [WinError 1455] The page file is too small to complete the operation. Error loading…
- [Solved] You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version
- [Modified] AttributeError: ‘socket‘ object has no attribute ‘ioctl‘ python linux
- [Solved] Django Access to the backend error: Invalid block tag on line 98: ‘trans‘, expected ‘elif , ‘else‘或‘ endif. Did you forget
- [Solved] Operator Not Allowed In Graph Error & Attribute Error Tensor object has no attribute numpy
- [Solved] ssl_client_socket_impl.cc handshake failed (Same Codes in Different Environments)
- SyntaxError: Non-UTF-8 code starting with ‘\xe4‘ in file [How to Solve Chinese encoding problem]
- When sending an email, an error was reported: AttributeError:’list’ object has no attribute’encode’