Results 1 to 2 of 2

Thread: socket.error

  1. #1
    Member
    Join Date
    Feb 2010
    Posts
    50

    Default socket.error

    dear sir,

    when i am running the command : python -m SimpleHTTPServer 80 in my console
    i got this message :
    root@bt:~# python -m SimpleHTTPServer 80
    Traceback (most recent call last):
    File "/usr/lib/python2.5/runpy.py", line 95, in run_module
    filename, loader, alter_sys)
    File "/usr/lib/python2.5/runpy.py", line 52, in _run_module_code
    mod_name, mod_fname, mod_loader)
    File "/usr/lib/python2.5/runpy.py", line 32, in _run_code
    exec code in run_globals
    File "/usr/lib/python2.5/SimpleHTTPServer.py", line 218, in <module>
    test()
    File "/usr/lib/python2.5/SimpleHTTPServer.py", line 214, in test
    BaseHTTPServer.test(HandlerClass, ServerClass)
    File "/usr/lib/python2.5/BaseHTTPServer.py", line 570, in test
    httpd = ServerClass(server_address, HandlerClass)
    File "/usr/lib/python2.5/SocketServer.py", line 330, in __init__
    self.server_bind()
    File "/usr/lib/python2.5/BaseHTTPServer.py", line 101, in server_bind
    SocketServer.TCPServer.server_bind(self)
    File "/usr/lib/python2.5/SocketServer.py", line 341, in server_bind
    self.socket.bind(self.server_address)
    File "<string>", line 1, in bind
    socket.error: (98, 'Address already in use')


    anyone's ever got this problem?
    hope can share.
    tks

  2. #2
    Good friend of the forums espreto's Avatar
    Join Date
    Mar 2010
    Location
    Brazil
    Posts
    303

    Default Re: socket.error

    Your question has nothing to do with Backtrack!
    More follows the link That Will help you! As a tip, always read the documentation for the software you want to use!

    20.19. SimpleHTTPServer — Simple HTTP request handler &mdash; Python v2.7 documentation

    Copy the code to the bottom of this page!
    (gdb) disass m(y_br)ain

    ®

Similar Threads

  1. Replies: 3
    Last Post: 10-18-2010, 11:00 PM
  2. Socket in C for beginners
    By citizenkane in forum OLD Programming
    Replies: 4
    Last Post: 01-14-2010, 05:25 PM
  3. breaking into existing socket connection
    By trackh4t in forum OLD Newbie Area
    Replies: 8
    Last Post: 11-24-2009, 08:55 PM
  4. Replies: 0
    Last Post: 09-23-2009, 12:25 AM
  5. socket(PF_Packet) error while airodump-nging
    By magianegra in forum OLD Newbie Area
    Replies: 1
    Last Post: 01-04-2009, 03:36 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •