Halloween DealsAmazon USHalloween week deals: useful picks before month-endAmazon US: current deals, useful picks and tech finds.Check DealsClean PCRecommendedOne scan can reveal what keeps slowing WindowsLook for cleanup and repair opportunities.Run ScanHalloween DealsAmazon USOctober picks are moving - compare before checkoutAmazon US: current deals, useful picks and tech finds.See Picks×
Skip to content
VGSources
Blog

Can’t Reach Your VPS From Outside? How to Fix Firewall and Port Issues

Find the blocking layer when a VPS works locally but cannot be reached from outside. Verify the endpoint, listener, guest and provider firewalls, routes, IPv4/IPv6 rules, and exact port tests without disabling protection.
Length10 min Posted Quest giverVGSources Team
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

If a VPS works locally but not from the internet, troubleshoot the path in layers: verify the hostname and public address, confirm the service is listening on the intended interface, inspect the VPS firewall, inspect the provider firewall, then verify routes and test the exact protocol and port from an external network. A successful check at one layer does not prove that the other layers will pass traffic.

What “unreachable” actually means

An outside connection can fail before it reaches the application, at the application itself, or on the return path. The most useful distinction is between these independent controls:

As an Amazon Associate I earn from qualifying purchases.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
  • Endpoint: the hostname must resolve to the VPS’s current public IPv4 or IPv6 address.
  • Listener: the application must be running, using the expected TCP or UDP port, and bound to an address reachable from the client.
  • Guest firewall: UFW, firewalld, nftables, or iptables on the VPS can allow or discard packets.
  • Provider firewall: cloud security controls can block traffic before it enters the virtual machine.
  • Routing and return traffic: the VPS needs a valid public route and must send replies through the correct interface.

These layers are cumulative. An open provider rule cannot make a loopback-only service public, and a listening service cannot receive packets that the provider network drops.

1. Confirm the public endpoint first

Resolve the hostname

Resolve the name from the client network and compare every returned address with the VPS’s current public addresses. A stale DNS record can send you to an old machine, while an AAAA record can direct IPv6-capable clients onto a path that is not configured.

#1 Best Overall
Sale
Gaoye Blue Light Blocking Glasses
  • BLUE LIGHT BLOCKING GLASSES: Our blue light glasses for women boast UV400 protection, blocking harmful blue rays from computer screens. With these bluelight glasses women, you can enjoy gaming, reading, or watching TV with no worries of eye strain.
  • EYE RELIEF: Our blue light glasses are engineered to reduce blurry vision or strain caused by prolonged screen time. These womens blue light glasses aid in better sleep by preventing blue light from disrupting your natural sleep cycle, helping you fall asleep faster and enjoy a more restful night's sleep, making them the perfect christmas present.
  • COMFORTABLE: Crafted from durable material, our trendy blue light glasses for woman or blue light glasses men ensure long-lasting comfort. The high-transmittance lenses accessories, gamer gifts for men, help keep your eyes relaxed. Perfect stocking stuffers, gifts for gamers men, christmas gifts for men, halloween costumes.
  • LIGHTWEIGHT: These clear blue light glasses feature a lightweight frame, meaning they’ll stay comfy for long-term wear. Perfect as blue blockers glasses for women or mens blue light glasses, these non-prescription fake glasses for men can be worn throughout the day. The blue light blocking glasses women feature polycarbonate HD lenses, which are anti-reflective and restore true color.
  • WORRY-FREE PURCHASE: If you experience any issues, our support team is ready to assist you quickly. These are the perfect costume glasses for cosplay dressing up.

Use the exact hostname that users enter, not an internal name shown only inside the VPS provider’s network. If both A and AAAA records exist, test each address family separately so that a broken IPv6 path is not mistaken for a general outage.

Test from outside the provider network

A test made on the VPS itself, or from another resource inside the same private network, can bypass an internet-facing control. Use a workstation on a different network, a mobile hotspot, or another independent host. Record the destination address, protocol, port, source network, and result for each test.

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

2. Verify that the service is listening correctly

Check that the process is running

Confirm that the application started successfully and is not repeatedly crashing. Then check its configured port and protocol. A web server may use TCP while a game, voice, or telemetry service may require UDP; an allow rule for one does not permit the other.

Check the bind address

The service must bind to the VPS address on the intended interface or to 0.0.0.0 for IPv4. Google Cloud’s guidance states: “The server must be bound to the IP address of a particular interface or to 0.0.0.0, and it must accept connections from the correct client IP prefix or 0.0.0.0.” A process bound only to 127.0.0.1 accepts connections from the VPS itself but is invisible to public clients.

For IPv6, the application also needs an IPv6-capable bind address, commonly the VPS’s IPv6 address or the IPv6 wildcard. An IPv4 listener does not automatically accept IPv6 connections.

Match the client source range

Some services or host-based access controls accept only a defined client prefix. If the service is listening but rejects the source address, adjust that application policy or test from an address inside the permitted range. Do not broaden access to every source unless the service genuinely requires it.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #2
Windex Gaming Cleaning Wipes, Pre-Moistened Wipes to Instantly Clean all Gaming Gear and Electronics, Resealable Packaging for a Freshness Lock, 25 count (Pack of 1)
  • WINDEX GAMING WIPES: effortlessly clean all your gaming gear and gaming electronics in one easy step with our new Windex Gaming Wipes
  • AMMONIA FREE: our ammonia-free formula is safe to use on all of your favorite gaming equipment like consoles, headsets, controllers, screens, keyboards, and more
  • PRE-MOISTENED WIPES: each wipe instantly removes dust, dirt, and stubborn smudges and fingerprints leaving a streak-free shine
  • ANTI-STATIC: great for cleaning and wiping down your gaming gear and electronics leaving behind no visible residue
  • COMPACT RESEALABLE PACKAGE: store your pack of Windex Gaming Wipes anywhere in your home for whenever a quick and easy wipedown is needed

3. Inspect the VPS guest firewall

Review the rule dimensions

Inspect the active rules in UFW, firewalld, nftables, or iptables. For the failing connection, verify all of these dimensions:

  • Protocol: TCP or UDP.
  • Destination port: the port configured in the application.
  • Source range: the public client address or CIDR that should be allowed.
  • Interface: the network device receiving the packet.
  • Address family: IPv4 and IPv6 rules are separate unless your firewall explicitly combines them.

Look for an earlier deny rule, a default-deny policy, or a rule that applies only to a different interface. A rule that appears to allow the port can still be ineffective if a higher-priority or earlier rule drops the packet.

Use packet counters to prove a drop

With iptables or nftables, inspect packet and byte counters on matching rules while making one controlled external test. Google Cloud’s documentation gives an illustrative iptables result of 10,342 packets and 2,078,513 bytes; the important point is interpretation, not the number itself. If the counter on a matching DROP rule rises during your test, the VPS is discarding the traffic at that rule. If no relevant counter changes, the packet may be blocked upstream, aimed at the wrong address, or using a different protocol or interface.

Change the narrowest rule

Permit only the required port and protocol, ideally from a restricted source CIDR. Avoid an “allow all ports” rule while diagnosing the problem. After each change, retest from the external network and record whether the symptom changed before making another modification.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

4. Check the provider-side firewall separately

Why a cloud rule can override a correct VPS rule

Provider controls operate outside the guest operating system. Google Cloud VPC firewall rules can allow or deny traffic by direction, protocol, destination port, and source range. AWS identifies security groups, network ACLs, route tables, Network Firewall, and the operating system as separate failure points. Azure documents network security groups (NSGs), guest firewalls, and routes as independent causes; default rules can block inbound internet traffic until a higher-priority allow rule exists.

Compare effective rules, not just the rule you edited

Check that the rule is attached to the correct virtual machine, network, interface, tag, or security group. Confirm its direction is inbound, its protocol and port match the test, and its source range includes the actual client address. Review priority and the default action: an allow rule below a higher-priority deny will never be reached.

Rank #3
Sale
LISEN Cell Phone Stand Phone Holder for Desk, Office Decor Gadgets for Men
  • Ergonomic & Adjustable Design: Fight "text neck" and improve your posture. Designed for comfort, it offers an adjustable height (7.1in-8.5in) (1.4in adjustable range) and angle (5°-85°) Please note: cell phone stand is only 9 inches tall—the length of a standard pencil
  • Without blocking subtitles Perfect for office desk Tiktok Face Time Zoom video—this is the ultimate kitchen desk essential for phones! Perfect viewing experience while reducing neck back strain, A must-have for gamers streamers desk, and anyone who values both style and support!
  • Sleek & Stable Design fits Otterbox Case: Say goodbye to bent cables, tangles, and tip-overs! LISEN’s stylish adjustable desk phone holder features a built-in charging hole and smart cable management, keeping your phone secure and your workspace clutter-free cool gadgets for men
  • ANTI-SLIP DESIGN free hands: The under 10.00 items easy gadgets back and the bottom of this kitchen essentials for women are fully covered by anti-skid silicone, which LISEN stand up desk decor can provide maximum protection device from any scratches and slides
  • Your Perfect Viewing Companion:If your product arrives damaged or breaks within 365 days, reach out to LISEN for a quick and hassle-free solution. Struggling with assembly, like tightening the screw? We’ve got your back! Your experience matters to us. (Product including: phone Holder stand*1, screw*1, hexagon screwdriver*1, specification*1)

Use provider diagnostics

Google Cloud offers connectivity tests that can identify dropped traffic. Equivalent effective-rule views, flow logs, or network diagnostics in your provider can show whether a packet reached the virtual network and which policy decided its fate. These results are more useful than repeatedly changing guest rules when the packet never enters the VPS.

5. Verify routes and return traffic

Confirm the expected public route

Ensure the VPS has the provider’s expected route for internet traffic and that the public address is actually assigned to the active interface. A missing route, an incorrect next hop, or a detached interface can prevent replies even when inbound packets arrive.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Look for forced tunnels and appliances

Network appliances, inspection gateways, VPNs, and forced-tunneling policies can redirect traffic away from the normal internet path. Azure specifically lists route problems and forced tunneling as possible causes. Verify that the return route does not send replies through an interface or tunnel that cannot reach the original client.

Recognize asymmetric paths

If a packet enters through one interface but the reply leaves through another, stateful firewalls may discard it. Compare the interface receiving the connection with the interface selected for the response. Fix the route or policy that creates the asymmetry rather than weakening every firewall rule.

6. Test the exact port, not just ping

TCP probe

For a TCP service, run:

nc -vz HOST PORT

A successful connection indicates that a TCP handshake reached a listener. “Connection refused” generally means the host responded but no permitted process accepted that port; a timeout commonly indicates filtering, routing, or a host that never replied. Treat those as clues, not as proof of one specific cause.

HTTP test

For an HTTP endpoint, use:

curl -v http://HOST:PORT

The verbose output separates name resolution, connection establishment, and the HTTP response. For an IPv6 literal, use bracket notation such as http://[2001:db8::10]:8080 with the VPS’s real address.

Rank #4
Ledagic IC+RGBW USB Powered Led Light Bar with App & Remote Control, 2 Pack
  • Easy Installation: Our gaming lights have been designed to enhance your entertainment experience. Simply position the led light bar next to your TV or game console to create a game room environment with ease. They come with USB power and a 60 inch cord for direct mounting and mobility
  • Audio Syncing & Extensive Mode: The built-in high-sensitivity music sensor allows you to sync the TV led lights to your favorite music. Lights react and move to the beat of music, film and game audio, creating an incredible immersive sound and light experience – and all without the need for an additional hub. You can choose from 64+ patterns, including strobe, illusion, jump, energy, gradient, running, chasing, fluttering mode etc. Each mode can be applied to different scenes
  • 64+ Chasing IC+RGB & W Effect: The independent control design of IC+RGB and white all-in-one multifunctional rgbw led bar lights monitor backlight allows you to easily switch the led lights for desk between IC+RGB and white to enjoy a variety of lighting effects, you can choose white lighting mode with high brightness for better illumination when working, etc. Choose IC+RGB lighting mode when you need to create an entertaining atmosphere for the light show, 16 million colours of Color changing rgb light bar let you dance to the beat and create a dynamic party atmosphere
  • Dynamic and Dimmable Lights: 1%-full brightness free brightness adjustment gives you the flexibility to adjust dimmable led light bar for room decorations or a variety of occasions
  • USB Powered: USB light bars for room can be powered by powernank, usb charger, TV, Monitor, laptop PC mainframe, making behind TV led lighting bar easy to install in any location.TV led lights are powered by the TV usb interface / PC mainframe, can be turned on/off synchronously with TV / PC

Windows TCP test

On Windows, Microsoft’s TCPing utility tests the specified TCP port. If TCPing fails, inspect the guest firewall and the provider firewall rather than disabling the Windows firewall; Microsoft explicitly warns that turning it off is not a fix.

Why ping misleads

ICMP echo and application ports are different traffic types. A VPS can answer ping while dropping TCP 22, TCP 443, or a UDP game port. It can also block ICMP while allowing the application. Use ping only as a limited reachability signal, never as a verdict on a service port.

7. Keep protocol and address family aligned

TCP versus UDP

Provider and guest rules are protocol-specific. A TCP allow rule does not permit UDP on the same number, and a UDP rule does not make a TCP service reachable. Confirm the application’s documented transport and test with a tool that speaks that transport.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

IPv4 versus IPv6

IPv4 and IPv6 follow separate addressing and filtering paths. An IPv4 rule does not automatically solve an IPv6 connection, and an AAAA record can cause clients to choose IPv6 first. Create matching IPv6 listener and firewall rules when IPv6 is intended, or remove an unintended AAAA record until that path is ready.

8. A controlled troubleshooting workflow

  1. Write down the target: hostname, resolved A and AAAA addresses, protocol, port, and the external source network.
  2. Test each address family: use the exact public IPv4 and IPv6 addresses where possible, then test the hostname again.
  3. Confirm the listener: verify the process, transport, port, bind address, and any application-level source restriction.
  4. Inspect guest rules: check protocol, port, source, interface, address family, default policy, and packet counters.
  5. Inspect provider rules: verify attachment, direction, priority, source range, tags or security-group membership, and default-deny behavior.
  6. Validate routing: check the public route, active interface, return path, and any VPN, appliance, or forced tunnel.
  7. Run a direct probe: use nc, curl, or TCPing from outside the provider network.
  8. Make one narrow change: alter only the rule or route implicated by the evidence.
  9. Retest and record: note whether the result became success, refusal, or timeout, then continue to the next layer only if necessary.

This sequence prevents a common diagnostic mistake: changing several firewalls at once and losing the evidence that identifies the blocking layer.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Guest firewall versus provider firewall

Control Where it operates What it matches Priority and defaults Diagnostics
Guest firewall Inside the VPS operating system Protocol, destination port, source range, interface, and address family UFW, firewalld, nftables, or iptables policy and rule order Rule packet and byte counters; local logs
Provider firewall Virtual network or cloud edge before the guest Direction, protocol, destination port, source range, and resource attachment such as tags or security groups Rule priority and provider default-deny behavior Effective-rule views, flow logs, and provider connectivity tests

Both controls must permit the same flow. The provider rule cannot repair a service bound to loopback, and the guest rule cannot admit traffic discarded at the cloud edge.

Best Value
Sale
HUANUO FlowLift™ Dual Monitor Stand, Fully Adjustable Gaming Monitor Desk Mount for 13–32″ Computer Screens, Full Motion VESA 75x75/100x100 with C-Clamp & Grommet Base, Each Arm Holds 4.4 to 19.8 lbs
  • Compatible with Wide Screens - To ensure compatibility with the dual monitor mount, your each monitor must meet three conditions at the same time: First, computer screens size range: 13 to 32 inches. Second, screen weight range: 4.4 to 19.8 lbs. Third, the back of the monitor screen must have VESA mounting holes with a pitch of 75x75mm or 100x100mm.
  • Regarding the compatibility with desks - Your desk must meet three conditions at the same time: First, desk material: Only wooden desks are recommended, plastic or glass desks cannot be used. Second, desk thickness range: 0.59" - 3.54". Third, the bottom of the desk should not have any cross beams or panels, as this will interfere with installation. We recommend carefully checking that your desk and monitors meets all above conditions before purchasing.
  • Dual C-Clamp Hold - Worried your dual monitors might wobble or slip? Our upgraded base uses a larger platform plus a dual C-clamp structure to lock the dual monitor arm firmly to your desk. Each arm safely keeps your screens steady while you type, click and game—no shaking, no sliding, just a clean and secure setup you can trust every day. It also provides Grommet Mounting installation choice, both options ensure stable and secure fixation for your 0.59" - 3.54" desk.
  • Full-Motion Adjustment For Comfortable View - Pull the screen closer when you’re deep in a spreadsheet, push it back to watch videos, or rotate to portrait for coding — moving everything smoothly with just one hand. The monitor stand offers +85°/-50° tilt, ±90° swivel and 360° rotation. Raise your monitor up to 15.75″ to support a healthy sitting posture. Whether you’re working from home, gaming through the night, or switching between video calls and documents, getting the screens to your natural line of sight helps relieve neck, shoulder and back strain so you can stay focused longer with less fatigue.
  • Keep Your Desk Organized: By lifting both screens off the desktop, this dual monitor stand opens up valuable space for your keyboard, notebook, docking station or a simple, clutter-free work area. Built-in cable management guides wires along the arms, keeping cords out of sight and out of the way. Enjoy a tidy, modern workstation that looks as good as it feels to use.

Common symptoms and the next check

Local connection works; outside connection times out

Check the bind address first, then guest and provider firewall drops, followed by the public route. A loopback-only listener or an upstream default deny is more likely than an application protocol error.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Outside connection is refused immediately

The host answered but no usable listener accepted the connection on that protocol and port. Verify that the process is running, listening on the public interface, and using the port you tested. A reject rule can produce a similar result, so inspect firewall counters as well.

Ping succeeds; the website or SSH port fails

Ping proves only that ICMP reached a responding host. Test the application port directly, then inspect protocol-specific rules and the listener.

IPv4 works; IPv6 fails

Check the AAAA record, IPv6 bind address, IPv6 guest rules, provider IPv6 rules, and the IPv6 return route. Do not assume an IPv4 allow rule covers IPv6.

The rule looks correct, but counters stay at zero

Confirm that the test is using the expected address, protocol, interface, and source range. Zero counters often means the packet is blocked upstream or is arriving on a different path than the rule covers.

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Safe fixes and changes to avoid

  • Allow only the required protocol and destination port.
  • Restrict source addresses to a known CIDR when the service permits it.
  • Apply equivalent IPv4 and IPv6 rules only when both address families are intended.
  • Change one layer at a time and keep a record of the previous rule or route.
  • Do not open every port as a diagnostic shortcut.
  • Do not disable the guest firewall; use counters, logs, and targeted temporary rules to isolate the fault.
  • After recovery, remove temporary broad rules and confirm that the intended default-deny posture remains.

What to collect before escalating

A concise evidence bundle lets a provider or administrator identify the failing layer quickly:

  • Hostname and the A and AAAA answers observed from the client network.
  • VPS public addresses, active interface, and expected default route.
  • Application name, transport, port, bind address, and process status.
  • Guest firewall configuration, relevant rule order, and packet counters before and after a test.
  • Provider firewall rule, priority, attachment, source range, and any effective-rule or connectivity-test result.
  • Exact external test command and its output, including whether the result was success, refusal, or timeout.
  • Any VPN, forced tunnel, network appliance, or recent route change.

With those details, “the VPS is down” becomes a specific question such as “TCP 443 reaches the interface but matches this guest DROP rule” or “IPv6 is selected by DNS but has no provider allow rule.”

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More quests from Patch Notes

  1. How to Set Up a RedM (RDR2) Server in 2026: License Key, txAdmin and server.cfg, Step by StepBlog11min
  2. Best RedM (RDR2) Server Hosting in 2026: Comparing Four Hosts on Slots, Memory and PriceBlog10min
  3. How to Host a Mindustry Server in 2026: server-release.jar, Port 6567 and the Commands That MatterBlog7min
Recommended PC Tool
Recommended PC Tool
Outdated Drivers Are Slowing You DownFree scan - exact matches
Windows Errors? Fix Them Before They SpreadFree repair scan

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.