The host can be identified a number of ways...
1) Right-click om My Computer > Properties > Computer Name > Change
2) At a Command prompt enter 'echo %COMPUTERNAME%'
3) At a Command prompt enter 'ipconfig' and get the IP address for the local area connection
4) If you have the TCP/IP loopback interface adapter installed, it is typically configured for IP 127.0.0.1. To validate, go to a Command prompt enter 'ping 127.0.0.1'.
5) host name resolution my be configured for 'localhost'. To validate, go to a Command prompt enter 'ping localhost'.
There are common port number used by each application server. For JBoss it is commonly port 8080.
Steve