Try disabling all of your plugins then exit and restart?
Was it a legal copy of Matlab? If not, it might have come with a free bonus.
If Internet Explorer goes fine to external sites, it is not a network issue. You may need to add Firefox to the Exceptions list on the computers firewall. You can try to do this by Right Click on the Network Icon, Change Firewall Settings, Exceptions, Add Program