• March 28, 2024, 10:35:13 AM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

News:

This Forum Beta is ONLY for registered owners of D-Link products in the USA for which we have created boards at this time.

Pages: [1] 2 3

Author Topic: Port Forwarding , Connection refused or firewall blocking ..?  (Read 50719 times)

gsundeep

  • Level 1 Member
  • *
  • Posts: 19
Port Forwarding , Connection refused or firewall blocking ..?
« on: December 19, 2014, 06:10:45 AM »

Hi everyone,

i bought a DIR-600L router and trying to do port forwarding .
i am using a static ip provided by my ISP i.e., Excell Media .



and my port fowaring rules are



i used canyouseeme.org website to check whether the port is opened or not .
it says the connection was refused

i tried the same thing by running netcat on that particular port and tested again on canyouseeme.org website . it gives me the same result.

is there anything other than port forwarding rules to be configured , like firewall ..?

please help me to solve this one

thanks
Logged

PacketTracer

  • Level 4 Member
  • ****
  • Posts: 441
Re: Port Forwarding , Connection refused or firewall blocking ..?
« Reply #1 on: December 19, 2014, 07:16:16 AM »

Maybe there is a host based firewall active on your internal server at 192.168.0.101 blocking incoming connection requests to TCP port 9891 at all or at least if client requests do not come from your LAN (192.168.0.0/24)?
« Last Edit: December 19, 2014, 07:18:32 AM by PacketTracer »
Logged

FurryNutz

  • Poweruser
  •   ▲
    ▲ ▲
  • *****
  • Posts: 49923
  • D-Link Global Forum Moderator
    • Router Troubleshooting
Re: Port Forwarding , Connection refused or firewall blocking ..?
« Reply #2 on: December 19, 2014, 07:23:14 AM »

Link>Welcome!

  • What Hardware version is your router? Look at sticker under the router case.
  • Link>What Firmware version is currently loaded? Found on the routers web page under status.
  • What region are you located?
  • Are you wired or wireless connected to the router?
  • Has a Factory Reset been performed?
  • Was a Factory Reset performed before and after any firmware updates then set up from scratch?
>FW Update Process
  • Was the router working before any firmware updates?

Internet Service Provider and Modem Configurations
  • What ISP Service do you have? Cable or DSL?
  • What ISP Modem Mfr. and model # do you have?

Router and Wired Configurations
Some things to try: - Log into the routers web page at 192.168.0.1. Use IE, Opera or FF to manage the router. Besure to log into the Admin account on the router.
  • Enable or Disable Use Unicasting (compatibility for some ISP DHCP Servers) and test under Setup/Internet/Manual. Disable may help with speed performance on higher speed ISP services.
  • Turn on DNS Relay  under Setup/Networking. Link>Finding Faster DNS Addresses using Name Bench and input new DNS addresses under Setup/Internet/Manual.
  • Setup DHCP reserved IP addresses for all devices ON the router. Setup/Networking. This ensures each devices gets its own IP address when turned on and connected, eliminates IP address conflicts and helps in troubleshooting and maintain consistency for applications that need to connect as well as mapped drives.
  • Ensure devices are set to auto obtain an IP address.
  • If IPv6 is an option on the router, select Local Connection Only under Setup/IPv6.
  • Set Firewall settings to Endpoint Independent for TCP and UDP under Advanced/Firewall. Enable or Disable SPI to test.
  • Enable uPnP and Multi-cast Streaming under Advanced/Networking. Disable uPnP for testing Port Forwarding rules.
  • Set current Time Zone, Date and Time. Use an NTP Server feature. The DST setting is only needed in the NA region. Tools/Time.
Logged
Cable: 1Gb/50Mb>NetGear CM1200>DIR-882>HP 24pt Gb Switch. COVR-1202/2202/3902,DIR-2660/80,3xDGL-4500s,DIR-LX1870,857,835,827,815,890L,880L,868L,836L,810L,685,657,3x655s,645,628,601,DNR-202L,DNS-345,DCS-933L,936L,960L and 8000LH.

gsundeep

  • Level 1 Member
  • *
  • Posts: 19
Re: Port Forwarding , Connection refused or firewall blocking ..?
« Reply #3 on: December 19, 2014, 07:41:29 AM »

Thank for the reply @PacketTracer

i think host firewall doesnt blocking it , i am trying to open the netcat connection using this port



firewall doesnt prompting me an error
Logged

gsundeep

  • Level 1 Member
  • *
  • Posts: 19
Re: Port Forwarding , Connection refused or firewall blocking ..?
« Reply #4 on: December 19, 2014, 07:45:34 AM »

Thanks for your reply @FurryNutz

My product is DIR-600L
Hardware version B1
firmware version is 2.04

i am from Andhra pradesh , vijayawada.

i am connected with router using wired connection


should i have to disable uPnP "Disable uPnP for testing Port Forwarding rules" this one is metion in your rules
Logged

FurryNutz

  • Poweruser
  •   ▲
    ▲ ▲
  • *****
  • Posts: 49923
  • D-Link Global Forum Moderator
    • Router Troubleshooting
Re: Port Forwarding , Connection refused or firewall blocking ..?
« Reply #5 on: December 19, 2014, 07:48:37 AM »

Yes, please disable uPnP if you have PF configured.

What is the Mfr and model if your ISP modem?
Logged
Cable: 1Gb/50Mb>NetGear CM1200>DIR-882>HP 24pt Gb Switch. COVR-1202/2202/3902,DIR-2660/80,3xDGL-4500s,DIR-LX1870,857,835,827,815,890L,880L,868L,836L,810L,685,657,3x655s,645,628,601,DNR-202L,DNS-345,DCS-933L,936L,960L and 8000LH.

PacketTracer

  • Level 4 Member
  • ****
  • Posts: 441
Re: Port Forwarding , Connection refused or firewall blocking ..?
« Reply #6 on: December 19, 2014, 07:59:13 AM »

Quote
i think host firewall doesnt blocking it , i am trying to open the netcat connection using this port

Successful listening on a port does not mean, that the listening port isn't blocked by a firewall. Usually you have to add an incoming rule to your Windows firewall for the desired TCP port. And be careful to select the appropriate scope (any address, not just "local subnet")

PT
« Last Edit: December 19, 2014, 08:08:36 AM by PacketTracer »
Logged

gsundeep

  • Level 1 Member
  • *
  • Posts: 19
Re: Port Forwarding , Connection refused or firewall blocking ..?
« Reply #7 on: December 19, 2014, 08:00:46 AM »

@FurryNutz i dont know any information about Mfr and model of my isp . is that information causes troubles for the port forwarding ..?
Logged

gsundeep

  • Level 1 Member
  • *
  • Posts: 19
Re: Port Forwarding , Connection refused or firewall blocking ..?
« Reply #8 on: December 19, 2014, 08:02:44 AM »

i disabled uPnP , but the same error appears

Error: I could not see your service on 175.101.67.138 on port (9891)
Reason: Connection refused

175.101.67.138 is my public ip

Logged

gsundeep

  • Level 1 Member
  • *
  • Posts: 19
Re: Port Forwarding , Connection refused or firewall blocking ..?
« Reply #9 on: December 19, 2014, 08:17:50 AM »

Quote
i think host firewall doesnt blocking it , i am trying to open the netcat connection using this port

Successful listening on a port does not mean, that the listening port isn't blocked by a firewall. Usually you have to add an incoming rule to your Windows firewall for the desired TCP port. And be careful to select the appropriate scope (any address, not just "local subnet")

PT

i had added the new rule Netcat for the above port



but it is showing the same error when i tried using canyouseeme.org

Error: I could not see your service on 175.101.67.138 on port (9891)
Reason: Connection refused
Logged

PacketTracer

  • Level 4 Member
  • ****
  • Posts: 441
Re: Port Forwarding , Connection refused or firewall blocking ..?
« Reply #10 on: December 19, 2014, 08:29:37 AM »

1) Does it work from a client inside your LAN directly connecting to 192.168.0.101:9891?
2) Does your Netcat rule in Windows firewall have a scope allowing any source address (and not just "local subnet")?
Logged

gsundeep

  • Level 1 Member
  • *
  • Posts: 19
Re: Port Forwarding , Connection refused or firewall blocking ..?
« Reply #11 on: December 19, 2014, 09:06:33 AM »

1) Does it work from a client inside your LAN directly connecting to 192.168.0.101:9891?
2) Does your Netcat rule in Windows firewall have a scope allowing any source address (and not just "local subnet")?

with in the lan .. i think its working



my netcat rule . defined that it can connect all the public , private , domains
Logged

FurryNutz

  • Poweruser
  •   ▲
    ▲ ▲
  • *****
  • Posts: 49923
  • D-Link Global Forum Moderator
    • Router Troubleshooting
Re: Port Forwarding , Connection refused or firewall blocking ..?
« Reply #12 on: December 19, 2014, 09:17:11 AM »

One thing you have to do, you have to be actively using the port before you check the status using a port checker from the WAN side. It maybe closed since it's not being used at the time your checking it.
« Last Edit: December 19, 2014, 09:38:22 AM by FurryNutz »
Logged
Cable: 1Gb/50Mb>NetGear CM1200>DIR-882>HP 24pt Gb Switch. COVR-1202/2202/3902,DIR-2660/80,3xDGL-4500s,DIR-LX1870,857,835,827,815,890L,880L,868L,836L,810L,685,657,3x655s,645,628,601,DNR-202L,DNS-345,DCS-933L,936L,960L and 8000LH.

gsundeep

  • Level 1 Member
  • *
  • Posts: 19
Re: Port Forwarding , Connection refused or firewall blocking ..?
« Reply #13 on: December 19, 2014, 09:25:16 AM »

One think you have to do, you have to be actively using the port before you check the status using a port checker from the WAN side. It maybe closed since it's not being used at the time your checking it.

i am trying to connect from a remote sever to my system , for that purpose i am checking whether the port is opened or not ..

still it throws me an error "Connection refused" when i am trying to connect from a remote server

Logged

PacketTracer

  • Level 4 Member
  • ****
  • Posts: 441
Re: Port Forwarding , Connection refused or firewall blocking ..?
« Reply #14 on: December 19, 2014, 09:30:13 AM »

Quote
my netcat rule . defined that it can connect all the public , private , domains

What I mean when saying "scope" is if the "Remote Address" for rule "Netcat" and for both the other "nc.exe" rules is "Any address" or just "local subnet". It should be "Any address" if it shall be reachable from the Internet.
Logged
Pages: [1] 2 3