Results 1 to 7 of 7

Thread: how do I kill the port 80 web server?

  1. #1

    how do I kill the port 80 web server?

    does anyone know how I can stop the asus webserver?

    I can kill it with 'kill...' but it instantly restarts

    anyone?
    /regards
    Henrik

  2. #2
    I tried too, and had the same results. This is indeed very strange. The only thing I can think of is that the web server catches all signals and won't allow itself to be killed. I didn't even think that was possible... I thought a -9 always worked.

    Maybe writing a script to send a fast series of killall's to httpd before it can register a signal handler might kill it?

    - K.C.

  3. #3
    Join Date
    Jun 2005
    Location
    Slovenia
    Posts
    736
    Kill watchdog to kill restarts. For Oleg firmware I've wrote httpd patch that can move http to other port with setting httpd_lanport nvram variable.

    Maybe attached patch will help you.
    Attached Files Attached Files

  4. #4
    It isn't watchdog. Both of us have killed watchdog (killall -9 watchdog) and yet httpd still keeps springing back to life.

    Watchdog was my first thought too...

    - K.C.

  5. #5
    Quote Originally Posted by kfurge View Post
    It isn't watchdog. Both of us have killed watchdog (killall -9 watchdog) and yet httpd still keeps springing back to life.

    Watchdog was my first thought too...

    - K.C.
    one could strace each existing process while webkilling and catch the one that re-launches the web server
    strace is available via ipkg

  6. #6
    I'm pretty sure it's relaunching itself. Try killing it in rapid succession. It died for me when I did this.

    - K.C.

  7. #7
    Change 80 port to another (8001 for example):

    nvram set web_configuration_port=8001
    nvram commit

    and reboot router

Similar Threads

  1. Replies: 3
    Last Post: 01-11-2014, 13:16
  2. HowTo install a lightweight blog server
    By Tamadite in forum WL-500g/WL-500gx Tutorials
    Replies: 0
    Last Post: 03-12-2006, 01:46
  3. How to get Access to WEB server (Apache) ?
    By killroy in forum WL-500gP Q&A
    Replies: 0
    Last Post: 19-11-2006, 14:36
  4. Gameserver
    By blingbling in forum WL-500gP Q&A
    Replies: 2
    Last Post: 17-07-2006, 15:37
  5. Replies: 1
    Last Post: 19-06-2006, 19:37

Posting Permissions

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