Click here to Skip to main content
Rate this: bad
good
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 6-Apr-12 0:52am
Edited 6-Apr-12 0:59am
Slacker00779.4K
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
0 Maciej Los 525
1 OriginalGriff 480
2 Sascha Lefévre 289
3 Richard Deeming 195
4 Peter Leow 148
0 Sergey Alexandrovich Kryukov 9,693
1 OriginalGriff 9,185
2 Peter Leow 5,112
3 Kornfeld Eliyahu Peter 3,373
4 Maciej Los 2,876


Advertise | Privacy | Mobile
Web03 | 2.8.150327.1 | Last Updated 6 Apr 2012
Copyright © CodeProject, 1999-2015
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