Click here to Skip to main content
12,455,701 members (94,646 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: Win7 system
I have met an error in my program:
No connection could be made because the target machine actively refused it 127.0.0.1:1500
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
Slacker00796.8K
v3

1 solution

Rate this: bad
 
good
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 http://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xml[^].

Hope this helps.
  Permalink  

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.160826.1 | Last Updated 6 Apr 2012
Copyright © CodeProject, 1999-2016
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