Urgent.News

What's breaking now, across thousands of outlets.

Tech

The proxy worked at home. Why does it fail on a VPS?

You move a working application from your laptop to a VPS. The proxy hostname, port and code stay the same, but access stops working. If the endpoint uses IP authentication, check the address arriving at the proxy before changing the application. The allowlist checks the incoming connection The provider compares your connection's public source IP with an allowed list. This is the address of the…

A proxy setup functions well on a personal computer but encounters issues when migrated to a Virtual Private Server (VPS). Despite keeping the hostname, port, and code consistent, the proxy no longer accepts connections. This problem may originate from the proxy's source IP address not matching entries on the allowlist.

To troubleshoot, initially confirm the VPS uses IP authentication. If so, ascertain the correct outbound address from the machine hosting the application. This step necessitates checking the route used to reach the proxy, accounting for potential gateways like NAT, VPNs, or container hosts that could alter the public source IP.

It is crucial to consider the address family, such as IPv4 or IPv6, ensuring the allowlist entry aligns with the family being used. Direct checks may not reveal the source IP seen by the proxy on the incoming connection, which is particularly relevant when using the proxy for destination-facing access.

Furthermore, public source IPs can change over time, especially on home connections or cloud workloads. While automatic updates to the allowlist can be beneficial, their effectiveness depends on the provider's support and the reliability of the update process. For applications with frequently changing sources, employing username/password authentication may be more practical, contingent on the product's support for this method.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

**WEEK 4 DEV CHALLENGE - HALLOWEEN THEME - GHOST STORY GENERATOR:)**

👻 GhostWriter — Stories from Beyond the Machine This is a submission for the Hacktoberfest Open-Source AI Challenge Week 4: Ghost in the Machine .

  • GhostWriter is AI-powered supernatural storytelling website
  • Users create eerie tales with narrative concepts and settings
  • Source code and deployment details available on GitHub

An open map of Brazil's courts and prisons: 2,167 municipalities, one CSV, CC BY 4.0

If someone is arrested in a small Brazilian town, three questions come before anything else: which judicial district (comarca) does the town belong to, which courthouse handles the case, and which…

  • Brazilian lawyer creates open dataset mapping courts and prisons across 2,167 municipalities
  • Available under CC BY 4.0 license for free use and redistribution

How CAD/CAM Shapes Modern Injection Mould Design

Injection mould design today is a digital workflow from the first part model to the final trial. Here is a general walk through how CAD/CAM shapes each stage. 1.

  • CAD software creates 3D plastic part representations
  • Designers plan parting line, inserts, and cooling channels
  • CAM translates design into CNC machining instructions

An old dog trying to learn new tricks.

I am new to not just a newbie to the Dev community but I have to admit and I hate posting this. Even at 47 years old I am still a software developer virgin…..

  • 47-year-old professional struggles to learn software development
  • Overwhelmed by vast information for a seasoned newbie
  • Misses old internet screech in modern WiFi era

More from Saturday 31 October →