Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OSError: [Errno 98] Address already in use #28

Open
s41n1k opened this issue Feb 28, 2023 · 2 comments
Open

OSError: [Errno 98] Address already in use #28

s41n1k opened this issue Feb 28, 2023 · 2 comments

Comments

@s41n1k
Copy link

s41n1k commented Feb 28, 2023

While I run this cmd: python3 aem_hacker.py -u https://site.com --host 100.000.00.000
The error comes.

Traceback (most recent call last):
  File "aem_hacker.py", line 1676, in <module>
    main()
  File "aem_hacker.py", line 1648, in main
    httpd = run_detector(args.port)
  File "aem_hacker.py", line 1605, in run_detector
    httpd = HTTPServer(('', port), handler)
  File "/usr/lib/python3.8/socketserver.py", line 452, in __init__
    self.server_bind()
  File "/usr/lib/python3.8/http/server.py", line 138, in server_bind
    socketserver.TCPServer.server_bind(self)
  File "/usr/lib/python3.8/socketserver.py", line 466, in server_bind
    self.socket.bind(self.server_address)
OSError: [Errno 98] Address already in use

Solutions?
Thank you

@s41n1k
Copy link
Author

s41n1k commented Feb 28, 2023

I kill every service on Python, but still, an error comes.

@dpkeesling
Copy link

I had the same issue. It was because I had a webserver running that was bound to port 80. I ran systemctl stop apache2 and that resolved the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants