Click here to Skip to main content
13,044,428 members (124,034 online)
Rate this:
Please Sign up or sign in to vote.
See more:
I have met an error in my program:
No connection could be made because the target machine actively refused it

I think the port 1500 has been blocked on my machine. Can anyone tell me how to unblock a port in Windows 7?

-- Thanks.
Posted 5-Apr-12 23:52pm
Updated 5-Apr-12 23:59pm

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Assuming you are using Windows Firewall . . . and you have sufficient administrative rights to alter the settings (e.g. not being controlled by domain group policy settings)

Start => Control Panel => Windows Firewall => Advanced Settings => Inbound Rules => New Rule => Port => Next . . .

And look in the list for any rules that could be blocking the connection.

Do you mean TCP or UDP port?

What service are you expecting to run on it? Port 1500 is a 'User Port' assigned by IANA using the "Expert Review" process, as per [RFC6335] - listed as "VLSI License Manager" - see[^].

Hope this helps.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170713.1 | Last Updated 6 Apr 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100