what is the range of port numbers can i assign to localhost apart from 8080 ?
suppose i want to install mysql server, glassfish server and oracle server. what about their port numbers do i have to assign different port number for each server OR can i use 8080 for all three server but in that case i can use only one sever application ?
In theory, all ports from 1 to 65535 can be used. There are some limitations though. For ports from 1 to 1024 you usually need administrative rights; under Linux you need to be root. Furthermore, several ports are already used by the system, like 137 for Windows sharing.
In your case though, MySQL can run on its default port 3306, Oracle on its default 1521 and Glassfish on 8080 without a problem.