Check if host/port is open

Notice: This plugin is unmaintained and available for adoption.


This is a macro to check if a given host/port is open. The macro needs to be added to your Trac wiki page, see below for an example. It supports basic caching with a timeout. It does not support ICMP pings.

To use:

[[ServerDown(host, port, timeout)]]

Bugs/Feature Requests

Existing bugs and feature requests for ServerDownMacro are here.

If you have any issues, create a new ticket.


2 / 3


0 / 1


Download the zipped source from here.

There is also a version on PyPi.


You can check out ServerDownMacro from here using Subversion, or browse the source with Trac.


General instructions on installing Trac plugins can be found on the TracPlugins page.

To enable add the following to your trac.ini file:

serverdownmacro.* = enabled

Recent Changes

3416 by coderanger on 2008-03-25 06:39:08
Change my email to avoid Yahoo, which decided to brake my scraper script recently.
2905 by coderanger on 2007-12-15 10:11:52
Initial add.
2904 by coderanger on 2007-12-15 10:11:18
New hack ServerDownMacro, created by coderanger


Author: coderanger
Maintainer: none (needsadoption)

Last modified 8 years ago Last modified on Sep 22, 2016, 6:27:36 PM