# How to use 0.0.0.0:8080 in proxy using bud?

**URL:** https://discourse.roots.io/t/how-to-use-0-0-0-0-8080-in-proxy-using-bud/24535
**Category:** bud
**Created:** 2023-01-09T09:13:07Z
**Posts:** 10
**Showing post:** 8 of 10

## Post 8 by @Dirk — 2023-01-27T22:09:42Z

Had the same problem. looking into the bud source it seems that the ports `80` and `8080` get replaced with an empty string. This happens in `@roots/bud-dashboard/lib/dashboard/server/parsePort.js`.

```
/**
 * Parse port and return as a string with `:` prefix
 */
const parsePort = (port) => {
    if (!port ||
        (isString(port) && [``, `80`, `8080`].includes(port)) ||
        (isNumber(port) && [80, 8080].includes(port)))
        return ``;
    return `:${port}`;
};
```

Confirmed that this is causing it by removing the early return. Not sure why this was added. But this feels like unwanted behaviour for giving in a proxy url. Not knowing bud internals this might be done as it’s needed somewhere else in bud when parsing a port.

---

_[View the full topic](https://discourse.roots.io/t/how-to-use-0-0-0-0-8080-in-proxy-using-bud/24535)._
