CultiMAN
18th September 2006 09:33 UTC
Check if http port is used
Hi,
I want to do the following:
I have an application (web-app) that i normally install on port 8080. Over time I noticed that a lot of other software uses this port, so i want to change it during installation, but only if port 8080 is in use.
Question:
How do i check that port 8080 is in use on localhost?
I've tried to use the internet plugin, but it cannot handle ports other than port 80 (default). I just want to do a simple check if i get a HTTP response from that port.
Kind regards
Kristian Theilade, DK
CultiMAN
18th September 2006 20:12 UTC
Please, can anyone help with this? I just need to get the replycode from a webpage such as: http://localhost:8181/index.html
Thx. Kristian
Takhir
21st September 2006 06:49 UTC
http://nsis.sourceforge.net/Inetc_plug-in 'head' call. You can also parse 'netstat -a' console output using ExecDos plug-in (or nsExec with output redirection) for the LISTENING ports (if this works on Win9x).
CultiMAN
25th September 2006 15:43 UTC
Thx Takhir! That was a very good response to my problem!