The following information will asstist you in changing the default server port
When you use the hsqldb.jar to start the database the defualt port is set to 9001.
You can test easily with a netstat -a or telnet localhost 9001
So if you want to change the port do the following.
Edit the services file and add
hsql 1701/tcp #hibernate sql
This is not required by I like to do it so that it is reserved.
Next,
Start up the SQL database with the new port # defined.
Like so:
java -classpath hsqldb.jar org .hsqldb.Server -port 1701
Again run a test to verify
netstat -a or telnet localhost 1701
If you want to make this a perm change then you need to edit the server.properties file. See link below for more details.
Also
See this link as a reference
http://hsqldb.org/doc/src/org/hsqldb/Server.html
and
http://hsqldb.org/ for general info
I hope this helps.