public void startServer(){

        //read network configuration
        Configuration config;
        try{
            config = new PropertiesConfiguration("network.cfg");
        } catch (ConfigurationException e) {
            try{
                config = new PropertiesConfiguration("network.cfg.default");
            } catch (ConfigurationException e2) {
                LOGGER.error("Cannot read network configuration");
                throw new RuntimeException(e2);
            }
        }

        //instantiating InetAddress to resolve local IP
        try{
            inetAddress = InetAddress.getLocalHost();
        } catch (UnknownHostException e){
            LOGGER.error("Cannot instantiate IP resolver");
            throw new RuntimeException(e);
        }

        String[] urls = config.getStringArray("node.url");
        processes = new ArrayList<DA_Suzuki_Kasami_RMI>();

        //bind local processes and locate remote ones
        int processIndex = 0;
        for (String url : urls){
            try{
                DA_Suzuki_Kasami_RMI process;
                if (isProcessLocal(url)){
                    process = new DA_Suzuki_Kasami(urls, processIndex);
                    LOGGER.debug("Process " + processIndex + " is local.");
                    new Thread((DA_Suzuki_Kasami)process).start();
                    Naming.bind(url, process);
                } else {
                    process = (DA_Suzuki_Kasami_RMI)Naming.lookup(url);
                    LOGGER.debug("Looking up for process with URL " + url);
                }
                processIndex++;
                processes.add(process);
                
            } catch (RemoteException e1){
                throw new RuntimeException(e1);
            } catch (AlreadyBoundException e2){
                throw new RuntimeException(e2);
            } catch (NotBoundException e3){
                throw new RuntimeException(e3);
            } catch (MalformedURLException e4){
                throw new RuntimeException(e4);
            }
            
        }
    }