# 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:** 3 of 10

## Post 3 by @hallowichig0 — 2023-01-09T17:38:27Z

Hi @alwaysblank,

I don’t know if this is a bug but when I tried to use other ports like [http://localhost:8000](http://localhost:8000), the proxy was showing the correct port. It looks like all ports were shown as expected except the [http://localhost:8080](http://localhost:8080).

Here is the screenshot of using other port ([http://localhost:8000](http://localhost:8000)):  
 ![bud](https://discourse.roots.io/uploads/default/original/2X/7/72a6fd58138a26e13ca5e673818ca7097c7e64eb.png)

As you can see, the proxy was showing the correct port.

Here is my bud.config.js:

```
/**
 * Build configuration
 *
 * @see {@link https://bud.js.org/guides/getting-started/configure}
 * @param {import('@roots/bud').Bud} app
 */
export default async (app) => {
  // console.log(app.hooks.all());
  app
    /**
     * Application entrypoints
     *
     * Paths are relative to your resources directory
     */
    .entry({
      app: {
        import: ['@scripts/app.js', '@styles/app.scss'],
        publicPath: '/app/themes/example-theme/public/'
      },
      editor: {
        import: ['@scripts/editor', '@styles/editor'],
        publicPath: '/app/themes/example-theme/public/'
      },
    })

    .provide({
      jquery: ["jQuery", "$"],
    })
    /**
     * These files should be processed as part of the build
     * even if they are not explicitly imported in application assets.
     */

    .assets([
      {
        from: app.path('@src/images'),
        to: app.path('@dist/images'),
      },
      {
        from: app.path('@src/fonts'),
        to: app.path('@dist/fonts'),
      },
    ])

    .runtime(false)
    .splitChunks(false)

    /**
     * These files will trigger a full page reload
     * when modified.
     */
    .watch(["resources/views/ **/*", "app/** /*"])

    /**
     * Target URL to be proxied by the dev server.
     *
     * This is your local dev server.
     */
    .proxy('http://localhost:8080')

    /**
     * Development URL
     */
    .serve('http://0.0.0.0:3000');

  // app.log(
  // app.hooks.filter('build')
  // ).close()
};
```

By the way, I’m using sage tag v10.4.0

---

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