iTechGuides is reader-supported. When you buy through links on our site, we may earn an affiliate commission. As an Amazon Associate I earn from qualifying purchases. Learn more
Antihost offers Linux VPS plans with full root access, unlimited traffic on a 1 Gbps port and a 14-day free trial.
If your Java or Spring Boot application responds to curl http://127.0.0.1:8080 on the VPS but times out when you use the server’s public IP, the JVM is not the whole story. Check the effective application port, the socket’s bind address, the VPS firewall, the cloud provider’s ingress firewall, and any reverse proxy—in that order. A process can be running while no HTTP listener exists on the expected port, or while the listener accepts loopback traffic only.
The fastest method is to test from inside out: loopback, the VPS interface, then a genuinely external network. The first test that fails identifies the likely fault domain.
Recommended Free Tools
Understand the four things that must line up
An IP-address failure is usually caused by treating several independent settings as one. Verify each layer separately:
- Process: the Java process started successfully and remains running.
- Port: an HTTP or HTTPS listener exists on the port you are testing.
- Bind address: the listener is attached to an interface that can receive the connection, not only to loopback.
- Network policy: the VPS firewall and the provider’s ingress/security-group firewall allow the traffic.
A healthy JVM proves only the first item. Likewise, a successful local request proves that something answered locally; it does not prove that packets arriving on the public interface can reach that listener.
#1 Best Overall
- Powerful Turbo Fan:CAGIWIRU Electric Air Duster have reached speed up to 130000RPM,Can efficient remove dust and debris.With LED light and Three Adjustable Speed to meet with different cleaning tasks.
- With Attached USB C Fasting Charging cable.Charing 3 hours,Enjoy up to 240 minutes of use on the lowest setting, For third speed can use for 25mins.with four charging options to meet with your needs.
- Wide Application:Upgraded attached 5 different nozzles,making it suitable for a variety of scenes, such as car,pet, pc, keyboards, and other electronic devices. It also serves for office and home clean duster.
- Handy Design & Portable:Cordless air duster electric nozzle is Light weight and small size, design and comfortable to hold and space saving, convenient to carry around. You can put it in your room or inside the car without taking up space.
- Warranty & Support: Our Electric air duster comes with 5 years warranty and 24/7 customer service. During this period, if you have any questions,pls kindly feel free to contact us.
1. Confirm the application’s effective settings
Do not assume that the value in a checked-in application.properties or application.yml is the value used in production. Spring Boot can receive configuration from environment variables and command-line properties, and those values can override file-based settings. Read the startup log and the deployment environment, then record the effective port, context path, TLS mode, and bind address.
Check the port
For a standalone Spring Boot application, the documented default HTTP port is 8080, and the setting is controlled by server.port. A different value may be supplied by an environment variable, a service unit, a container definition, or a command-line argument.
Do these 3 things before closing this tab:
1Repair Windows errors before they cause bigger problems2Fix the driver behind crashes, sound loss and screen glitches3Clear out junk files and repair common Windows errorsserver.port=8080
If the log says the application started on another port, use that port in every subsequent test. A request to port 8080 will fail even when the application is operating normally on, for example, port 9090.
Check the bind address
For direct IPv4 exposure, a typical configuration is:
server.address=0.0.0.0
server.port=8080
0.0.0.0 means the process listens on all IPv4 interfaces. It is useful when clients should connect directly to the VPS through any of its IPv4 addresses. Use the narrowest address that matches the design instead: if a reverse proxy is the only intended caller, bind Java to the private interface or loopback and publish only the proxy.
A value of 127.0.0.1 deliberately limits the listener to the VPS itself. That configuration explains the common pattern in which a localhost curl succeeds while a curl to the VPS private or public address fails.
Quick wins for a faster PC:
Repair Windows errors before they cause bigger problemsFix Now →Fix the driver behind crashes, sound loss and screen glitchesFind Drivers →Rank #2
- Screen Cleaner is Your Screen’s New Bestfriend! - EVEO is proud to present a screen cleaner that’s perfectly suited for your TV. Meet your new screen cleaner, computer screen cleaner, laptop cleaner, iPad cleaner, Macbook,tv cleaner or any other electronic device. Our screen cleaner spray and wipe along with the included plush microfiber cloth, easily removes dust, fingerprints & other smudges on the screen’s surface. Clean effectively for a streak-free screen
- Gentle on your Screens - Our screen cleaner spray and wipes is compatible to be used even for the most sensitive LCD, LED, CRT, and OLED screens in proper use. Be at ease knowing that this product is compatible with all the major brands: LG, SONY, Samsung, Sharp, iPad, iPhone, Android screens, Kindle, PC monitors - we’ve got you covered! Can be used as LCD screen cleaner, tv cleaner, smart tv screen cleaner, and more
- Premium Super Soft Plush Microfiber Cloth - Included in this efficient screen cleaning kit. This screen cleaner spray and wipe has our signature plush microfiber cloth specially designed to comply with screens and monitors and leave them streak-free. Has been shown to effectively absorbs stubborn stains, zero streaks, and no fiber shedding. Always use this together with our screen cleaner for the best results
- Easy-to-Use Screen Cleaner Kit + microfiber cleaning cloth - The EVEO Screen Cleaning Kit will easily be your new favorite tool when it comes to taking care of the things you love most, quick and easy solution for a streak-free screen. Simply screw on the sprayer gun on the screen cleaner bottle. Spray the cleaning liquid onto the microfiber cloth, then wipe the screen until desired cleanliness & shine is achieved.
- Quality Screen Care Kit Worth Purchasing - Enjoy a convenient Screen Cleaner anytime, anywhere you need it. Your satisfaction is our top priority. We stand behind the quality of our products and that’s why, you shouldn’t be worrying at all. We manufacture the Best Screen Cleaner. and can be used for laptop cleaning kit, laptop screen cleaner, tv screen cleaner for smart tv. MacBook screen cleaner, monitor cleaner or screen cleaner spray for electronic devices with microfiber cleaning cloth
Record path and protocol details
A correct TCP connection can still produce an apparently broken application when the URL is wrong. Record the context path, whether the connector expects HTTP or HTTPS, and whether a proxy will supply the public host and scheme. A request to / can return 404 when the application is mounted under a context path; that is an HTTP routing issue, not proof that the port is closed. Sending plain HTTP to a TLS listener produces a protocol error even though the socket is reachable.
2. Prove that a listener exists on the VPS
Inspect listening sockets rather than inferring them from the Java process list. On the VPS, use the platform’s socket utility; on Linux, a common command is:
ss -lntp
Find the expected port and correlate it with the Java PID. Pay attention to the local-address column:
127.0.0.1:8080accepts loopback connections only.0.0.0.0:8080accepts IPv4 connections on the VPS interfaces, subject to routing and firewall policy.- A different port means the application and your test are out of sync.
- No matching listener means the process may have failed during startup, may be serving HTTPS on another port, or may not be the service you think it is.
Correlating the socket with the PID also catches a surprisingly common error: another service owns the port while the intended Java process is listening elsewhere or has stopped.
What’s actually slowing this PC down?
Pick the symptom - the matching free tool is one click away.
3. Test connectivity from inside out
Run the tests in order and keep the exact status, error text, and destination address. Use the effective port discovered in the previous steps.
- Test loopback on the VPS.
curl -v http://127.0.0.1:8080/For an HTTPS connector, use the corresponding HTTPS URL and port. A response confirms that a local TCP path and an HTTP handler exist, but it does not test the public interface.
- Test the VPS interface.
curl -v http://<vps-private-address>:8080/Use the VPS’s private address when one is available. If this fails while loopback works, inspect the bind address, local routing, and the host firewall. If it succeeds, the listener is reachable beyond loopback.
- Test the public address from outside. From a separate network, request
http://<vps-public-address>:8080/only when port 8080 is intentionally public. A mobile data connection or an external probe is preferable to another machine on the same private network. - Test the intended public endpoint. If a reverse proxy fronts the application, test the public IP on port 80 or 443, usually without appending
:8080. The Java backend port may be private by design.
Interpret the result, not just the command exit code
| First failing test | Likely fault domain | Next checks |
|---|---|---|
| Loopback | Application, port, protocol, or startup | Startup log, effective server.port, context path, TLS setting, and listening sockets |
| VPS interface after loopback succeeds | Bind address, local routing, or host firewall | Socket local address, interface address, and operating-system firewall policy |
| External request after VPS-interface access succeeds | Provider ingress, public-IP attachment, upstream routing, or external policy | Cloud firewall rule, public address assignment, source restrictions, and route configuration |
| TCP connects but the HTTP result is wrong | Path, proxy routing, virtual-host rule, TLS scheme, authentication, or application error | Verbose curl output, proxy configuration, forwarded headers, and application logs |
A 404 response is useful evidence: TCP reached a web server and the server generated an HTTP response. Investigate the path or context path rather than opening more firewall ports. A timeout and a connection refusal provide different clues, but neither should be treated as conclusive until you compare them with the socket and firewall state.
Rank #3
- 【Large size】:Measuring 800 x 300 mm/ 31. 5×12 inches, which is wider and taller than others. Large mouse pad can perfectly fit your keyboard and mouse of any size, and there is also ample space for peripherals such as phones, tablets, etc.
- 【LED backlight mouse pad】:Blade Hawks RGB mouse pad provides 7 static modes and 7 dynamic modes will give you the options you are looking for. Power-off memory function remembers the last lighting mode you selected. The super glow fiber Chroma will give you a colorful gaming setup that you want.
- 【Anti-slip rubber base】:Made from Natural rubber, this gaming mousepad will firmly grip your desktop, allowing you to enjoy the ultimate precision in the games you are most passionate about. It also comes with a texture that enhances this ability even further.
- 【Smooth and waterproof surface】: Micro-textured cloth surface, for extremely precise mouse control and a smooth movement. When liquid splashes on the gaming mouse pad, it forms water droplets and slides down. Will not delay your work or gameplay.
- 【Plug and play】: This mouse and keyboard pad is powered by USB, plug and play, no driver required. One button control light modes. Press one time to change the lighting mode, press twice to change the brightness, press and hold about 3 seconds turn ON/OFF.
4. Fix a loopback-only bind
If the socket inspection shows 127.0.0.1:8080, change the effective server.address to the interface required by the deployment. For direct public IPv4 access, that is commonly:
server.address=0.0.0.0
server.port=8080
Restart the service after changing configuration, then run ss -lntp again. Confirm that the new listener is present before testing from outside.
Do not choose 0.0.0.0 automatically. It exposes the process to every IPv4 interface on the VPS, including interfaces that may be intended only for internal traffic. If Nginx, Apache, or a load balancer is the only caller, binding Java to a private interface or loopback reduces the public attack surface. The proxy can still accept public traffic on 80/443 and forward requests internally.
5. Open both firewall layers
Cloud VPS deployments commonly have two independent firewalls:
- Operating-system firewall: runs inside the VPS and controls packets reaching the instance.
- Provider ingress or security-group firewall: runs at the cloud network edge and controls which traffic is delivered to the instance.
Allow the exact TCP port required by the architecture at both layers. For a reverse-proxy design, that normally means public 80 and 443, while the Java backend port remains restricted to the proxy or private network. For a temporary direct test, you may allow 8080, but restrict the source range whenever the use case permits.
Google Cloud’s guidance emphasizes that when a VM has a public IP address, only the services and traffic you intend to expose should be reachable. Apply that principle to every provider: open the smallest port set, restrict source addresses for administrative or internal endpoints, and remove temporary rules after testing.
Rank #4
- 【Softer and More Comfortable】Vaydeer wrist rest has unique diamond pattern, which is the combination of softness and aesthetics. The materials of wrist rest are improved into higher quality memory foam and covered with silky smooth lycra. The computer wrist rest makes you as comfortable and cushiony as like rest your wrists on clouds.
- 【Ergonomic Wrist Saver】The wrist rests for keyboard and mouse comes with a 17.32×3.15×0.83 inch keyboard wrist pad and a 5.94×3.15×0.83 inch mouse wrist support. Based on ergonomic design, the unique concave shape is the perfect fit for your wrist joints. The wrist rest pad fits most computer keyboards and laptops, improve hand and wrist posture, release your wrist and arm stress.
- 【Non-Slip Rubber Bottom】Featuring an anti-skid silicone base on the bottom, this wrist keyboard support stays firmly in place on your desk, preventing the padding from sliding around, ensuring stable and consistent wrist support during extended computer sessions.
- 【Better Experience & Pain Relief】Our keyboard arm rest is beneficial to alleviate the soreness caused by direct contact and friction between your arm and a hard desk surface, reducing the risk of wrist fatigue or carpal tunnel. The soft texture of memory foam can evenly distribute the pressure around your wrists and provide good support with just enough give.
- 【Helpful in Multiple Scenarios】Whether you're working, studying, writing, typing, gaming, this keyboard and mouse rest combo is an essential accessory to add comfort and support to your hands and wrists. It’s also a great gift for men, women, family, friend, coworker, gamer, teacher, etc.
Firewall checks that prevent false conclusions
- Verify that the rule applies to the correct VM, network, tag, security group, or interface.
- Confirm the protocol is TCP and that the destination port matches the listener.
- Check source restrictions; a rule allowing only an office CIDR will still block a mobile-network test.
- Check rule priority where the provider evaluates deny rules before or alongside allow rules.
- Keep management, actuator, and diagnostic endpoints off the public interface unless they are separately protected.
6. Account for a reverse proxy or load balancer
A reverse proxy changes the public endpoint. Clients connect to the proxy’s public port—usually 80 for HTTP or 443 for HTTPS—while the Java process can remain on a private backend port such as 8080. In that arrangement, http://public-ip:8080 is expected to fail if the backend is intentionally not exposed.
Verify the proxy path
- Confirm that the proxy service is running and owns the expected public port.
- Check that its upstream points to the Java listener’s actual address and port.
- Ensure the VPS firewall permits proxy-to-backend traffic.
- Test the proxy’s public URL, including the correct scheme and hostname.
- Read proxy error logs together with the Java application log; a 502 or 504 usually indicates an upstream connection or response problem rather than a missing public listener.
Proxies and load balancers can change the apparent host, port, and scheme. Configure forwarded or X-Forwarded-* headers consistently so redirects and generated links use the public URL instead of an internal address. If the application redirects from HTTPS to an internal HTTP URL, investigate proxy scheme forwarding and Spring’s forwarded-header handling before changing the firewall.
7. Distinguish direct exposure from a reverse-proxy design
| Decision point | Direct Java port | Reverse proxy in front |
|---|---|---|
| Public endpoint | Java listener, often 8080 during a test | Proxy on 80/443; Java backend can stay private |
| Firewall surface | Must permit the Java port to intended clients | Permit public 80/443 and restrict backend traffic |
| TLS termination | Handled by the Java connector if enabled | Usually handled at the proxy, with controlled forwarding to Java |
| Binding requirement | Java must bind an address reachable by clients | Java needs to bind only an address reachable by the proxy |
| Operational fit | Simple for a short-lived test or internal service | Better suited to public TLS, request filtering, and a constrained port surface |
Choose one design deliberately. Many “port 8080 is unreachable” reports are actually a correct reverse-proxy deployment being tested at the wrong public endpoint.
Free tools Windows power users keep installed
One-click scans. No signup required.
8. Check address, DNS, and network-path mistakes
Use the literal public IPv4 address first
Test the public IPv4 address before introducing DNS. A hostname may still resolve to an old address, a different address family, or a proxy service. Once the literal address works, verify that the hostname resolves to the same current address and that any virtual-host rules match the requested host.
Do not rely on a hairpin test
A request made from inside the same private network can be affected by NAT loopback, also called hairpin behavior. It may fail even though Internet clients can connect, or succeed through a path that does not represent an external user. Repeat the test from a genuinely separate network after local and VPS-interface checks pass.
Verify public-IP attachment and routing
An address shown in a control panel is not necessarily attached to the instance or routed to the interface where Java listens. Confirm the public IP assignment, the instance’s private address, and the provider’s route and ingress policy. A correctly bound socket cannot receive packets that never reach the VPS.
Best Value
- 【No Drill Mounted】Cable management tray can be assembled in as little as 3 minutes or less-simply. Side clips easily clampe the edge of desk, pass through the holes on the sides, and secure excess cables with baskets. Desk cable management supports inward or outward installation to meet your needs in different scenarios, and provides you with great convenience when collecting and organizing wires.
- 【Rubber Pad Protects Desk】Wire organizer under desk built-in soft rubber pads on the clamp protect your desk from scratches, so you will not damage your furniture or office.
- 【Sturdy and Beautiful】Cord management under desk is made of high-quality carbon steel and holds about 15 lbs. The wire basket has 2 holes on each side of the tray to enable your cables to pass freely. Cable baskets are suitable for desk thickness use from 0.4" to 2.4".
- 【Space Saving & Keep Organized】Desk cable management tray holds all your power cords, outlet strips, USB hubs and computer transformers hidden from your feet, and the data cables will not enter the vacuum cleaner to keep your desk clean and tidy. Desk wire organizer is also suitable for use in the kitchen and outdoors.
- 【Reduce Safety Risks】Cable tray under desk keeps all plugs away from your kids, no more worry about tripping. Using 2 holes wire tray saves extra space, helps you easily cabling and wire protection. The mesh design is not easy to accumulate dust, but avoids safety accidents caused by messy wires.
9. Work through common failure patterns
“The Java process is running, but localhost fails”
Inspect startup errors and the effective port. The process may have started a non-HTTP worker, failed to initialize its web server, or be listening with TLS while you send plain HTTP. Check the context path and repeat the request with the correct scheme and port.
Crashes, No Sound, or Screen Glitches?
Random freezes, missing sound and display glitches usually trace back to one bad driver. Find and replace yours safely.Free scan · under a minuteWindows Errors? Fix Them Before They Spread
Repair common Windows errors and clear accumulated junk for a smoother, more stable PC - no reinstall needed.Free scan · no reinstall“Localhost works, but the private address fails”
Look for a loopback-only bind first. If the socket is on 0.0.0.0 or the private interface, inspect local routing and the host firewall. Do not jump to provider rules yet; the request has not demonstrated that it can leave the local interface successfully.
“The private address works, but the public IP times out”
Focus on provider ingress, public-IP attachment, upstream routing, and source restrictions. Confirm that the test originates from an allowed network and that the provider rule targets this exact VM.
“The port connects, but I receive 404”
Keep the network configuration intact. A 404 means an HTTP server answered. Check the application context path, route, host header, and proxy location rules.
“The proxy returns 502 or 504”
Verify the upstream address and port, confirm Java is listening on that address, and ensure the host firewall allows the proxy’s connection. Compare proxy and application timestamps to identify whether the request reached Java.
The Tool Desk
Outbyte Driver Updater FREEScan for outdated or missing drivers - takes under a minuteDriver Scan →Outbyte PC Repair FREEClear out junk files and repair common Windows errorsFree Scan →“It works by IP but not by hostname”
Check DNS resolution, the current public address, virtual-host configuration, and TLS certificate or SNI expectations. Keep the IP test as a control while correcting name-based routing.
Quick Recap
10. A safe repair sequence
- Read the startup log and deployment environment; write down the effective port, context path, TLS mode, and bind address.
- Run
ss -lntpand correlate the listener with the Java PID. - Run a verbose loopback curl using the correct scheme and port.
- Run the same request against the VPS private interface.
- Correct
server.addressonly if the listener is unnecessarily limited to loopback. - Decide whether the public endpoint is Java itself or a proxy on 80/443.
- Allow only the required TCP ports in the VPS firewall and provider ingress firewall.
- Test the literal public IPv4 address from a separate network.
- Test the hostname and inspect proxy, application, and firewall logs together.
- Remove temporary direct-port rules and keep backend and management endpoints private wherever possible.
11. Final exposure checklist
- The Java process is running and its PID owns the expected listener.
- The listener port matches the value actually supplied at startup, not merely a value in a source file.
- The bind address matches the architecture: public interface for direct exposure, private or loopback for a proxy-only backend.
- The URL uses the correct HTTP or HTTPS scheme and context path.
- The VPS firewall permits the required TCP port.
- The provider’s ingress or security-group firewall permits the same port and the intended source ranges.
- The public IP is attached to the correct VPS and routes to it.
- External testing comes from a separate network, not only from inside the same private network.
- Proxy upstream, public ports, and forwarded headers are consistent when a proxy is present.
- Only intended services are reachable; temporary diagnostic openings are removed.
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.

