Report this

What is the reason for this report?

How can I use my droplets cloud server as a proxy?

Posted on April 10, 2024

I installed and configured tinyproxy on my cloud server. and when I was trying to connect , it turned out like this “The admistrator of this proxy has not configured it to service request from your host.”,I am wondering how I can solve this problem。



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hi there,

Yes, you can run proxy servers on DigitalOcean, there are no technical restrictions from preventing you in doing this.

The error message you’re encountering with Tinyproxy, relates to the access control settings within Tinyproxy’s configuration rather than a restriciton on the DigitalOcean side.

The Allow and Deny directives in the Tinyproxy configuration file determine which client IP addresses are permitted to use the proxy. By default, Tinyproxy may only allow connections from 127.0.0.1 (localhost), implying that all other connections are denied.

To resolve this issue, you should adjust the Allow directive in the Tinyproxy configuration file to include the IP address of the host you are connecting from. If you want to allow access from any IP, you can comment out the Allow lines, which defaults to permitting all connections, but be cautious as this could expose your proxy to the public.

For more information you can refer to the quick start here:

https://tinyproxy.github.io/#quickstart

Let me know if you have any questions!

Best,

Bobby

Heya @xuanwang,

I’ve not worked with tinyproxy however you should be able to allow connections from localhost / 127.0.0.1 on your App or proxy. This will allow it to receive calls/connections from there.

Heya, @xuanwang

There is no limitation from DigitalOcean on running proxy servers. You’ll however need to configure it and tweak the settings to make it work.

You can examine the config file which should be stored in /etc/tinyproxy/tinyproxy.conf and make sure that the IP addresses that you want to use the proxy are listed with the Allow directive.

Hope that this helps!

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.