# Err\_Connection\_refused

**URL:** https://dietpi.com/forum/t/err-connection-refused/1643
**Category:** Troubleshooting
**Created:** [17 November 2017 07:36 UTC](https://dietpi.com/forum/t/err-connection-refused/1643 "2017-11-17T07:36:08Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![k-plan](https://dietpi.com/forum/user_avatar/dietpi.com/k-plan/32/12_2.png) [@k-plan](https://dietpi.com/forum/u/k-plan)
#### Post date: [17 November 2017 17:59 UTC](https://dietpi.com/forum/t/err-connection-refused/1643/3 "2017-11-17T17:59:30Z")

</div>

> [@Pauduan](#):
>
> It took me all morning to work out how to get Samba to work,

Samba is in _dietpi-software_:

> **[DietPi Community Forum](https://dietpi.com/phpbb/viewtopic.php?f=8&t=5&start=10#p56)**
>
> Welcome to the DietPi OS Community Forum

> [@Pauduan](#):
>
> and I’m now trying to figure out how to get more than one connected drive to show up.

This can _dietpi-drive\_manager_ do (or in _dietpi-launcher_) :

[https://dietpi.com/forum/t/dietpi-drive-manager/560/1](https://dietpi.com/forum/t/dietpi-drive-manager/560/1)

> [@Pauduan](#):
>
> So the story with the AP is that it shows as online and working in the configuration menu, but no client is able to see the network.

That’s correct. It is a WiFi HotSpot.

> This allows other wireless devices to connect and share the internet connection.

… but NOT to share your local network! (security reasons)

This is done via iptables rules: [DietPi/dietpi/dietpi-software at master · Fourdee/DietPi · GitHub](https://github.com/Fourdee/DietPi/blob/master/dietpi/dietpi-software#L10774)  
You can change it manually, if you know what you are doing.

> [@Pauduan](#):
>
> I get ERR\_CONNECTION\_REFUSED in Chrome and “Could not connect” in Firefox.

Correct. Your servers are behind NAT (MASQUERADE) for the HotSpot clients, as long as HotSpot is running or installed.  
Example, same as for your LAN clients (and local server) are behind (P)NAT of your ISP router and they are not connectible from outside (internet) without a port forwarding rule.  
Deinstall WiFi Hotspot via _dietpi-software_ and you can connect via LAN.

> [@Pauduan](#):
>
> After some poking around it seems the AP requires DHCP server enabled.

Correct. A WiFi HotSpot without his own DHCP server make no sense.

> [@Pauduan](#):
>
> Besides the WLAN tops out at 54mbps,

Correct. This is caused by hostapd (service). You can change it manually, if you know what you are doing, but don’t expect too much.

CUPS?  
No official support in _dietpi-software_, but web interface runs ONLY locally on [http://localhost:631/admin](http://localhost:631/admin) and login is only possible for members of user group lpadmin.

To change this, have a look here:

> **[Remote Access to CUPS Web Interface](http://thismightbehelpful.blogspot.com/2008/09/remote-access-to-cups-web-interface.html)**
>
> If you have a server(without gnome or kde running) and need to install a printer, the easiest way is to use the CUPS web interface. You can...

But _dietpi-software_ supports CloudPrint (CUPS print server, with support for Google cloud printing. Also includes a web interface for CUPS): [(resolved) Execute code at startup automatically](https://dietpi.com/forum/t/resolved-execute-code-at-startup-automatically/92/1)

---

_[View the full topic](https://dietpi.com/forum/t/err-connection-refused/1643)._
