Surf 11 » Archives for September, 2007

Finding the best waves on the web.

Free MySQL and PostgreSQL Hosting Accounts

This service offers free accounts for MySQL and PostgreSQL. These can be handy if you want to test your application on these databases but don't want to install and manage the database server.

Link: Free MySQL and PostgreSQL Hosting Accounts



Command to show open TCP ports on Windows

Here's a handy command you can use on windows to list all of the open TCP/IP ports:

netstat -anop TCP

Need to list open UDP ports? You guessed it, try this:

netstat -anop UDP

Quite handy when you want to see if a program did indeed bind to a port. It is essentially an easy way to port scan yourself on windows.

This command is built in to windows, but there are some third party tools such as Foundstone's fport.exe which also shows which program binds to the port.



How to Determine if IIS is running in 32 or 64 bit mode

Want to know if IIS is running in a 32 bit or 64 bit mode on a 64 bit server? Run the following command to determine this:

cscript adsutil.vbs c:\inetpub\adminscripts\ GET W3SVC/AppPools/Enable32BitAppOnWin64

If you are running in 32bit mode on a 64bit server, then the output will look like this:

Microsoft (R) Windows Script Host Version 5.6
Copyright (C) Microsoft Corporation 1996-2001. All rights reserved.
Enable32BitAppOnWin64 : (BOOLEAN) True


Subscribe to our RSS Feed: subscribe to this feed XML
Archives   Tags   Contact