So once you have got a good portfolio, make sure that you do build your personal website. It took me a weekend to develop my own ( http://akshayagarwal.in ) and the rewards have been excellent because any potential client would want to have a look at what you have done already and when he sees that you have a proven record of awesomeness, the deal is yours! Also, make sure to maintain a decent and updated LinkedIn profile because thats where I get a good amount of leads. You should also have some cool sideprojects open sourced on Github, they dont need to be big, they can be just some minor hack that you did over a weekend but it helps you demonstrate your love for programming and technology. Lastly, network, network, network, its the biggest investment you will ever make in your business.