Very strange… avast does not change IP address, does it?
avast can’t interfere at this point…
I suppose that you already repaired your installation (Control Panel > Add/Remove programs > avast! antivirus > Remove
Then choose Repair function in the popup window)…