# Error DK0031: Port 80 and 443 is used

**URL:** <https://community.kinsta.com/t/error-dk0031-port-80-and-443-is-used/101>\
**Category:** Bug Reports\
**Created:** [January 18, 2021, 11:34pm UTC](https://community.kinsta.com/t/error-dk0031-port-80-and-443-is-used/101 "2021-01-18T23:34:14Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![ElliottMangham](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/elliottmangham/32/79_2.png) [@ElliottMangham](https://community.kinsta.com/u/ElliottMangham)\
**Post date:** [January 18, 2021, 11:44pm UTC](https://community.kinsta.com/t/error-dk0031-port-80-and-443-is-used/101/2 "2021-01-18T23:44:56Z")

</div>

Update: I managed to complete the installation by killing all processes on port 80, however, I have no idea if this is a long-term fix (presumably not).

Mac:

```auto
# find & kill processes which are using port 80
sudo lsof -i tcp:80 | grep LISTEN | awk '{print $2}' | xargs kill -9

```

Windows:

```auto
# find processes which are using port 80
netstat -ano | findstr :80

# kill process by PID. replace "<PID>" with result from the above command.
taskkill /PID <PID> /F

```

Support: [DevKinsta Error Codes - Kinsta](https://kinsta.com/knowledgebase/devkinsta/error-codes/#dk0031)

Best,

---

_[View the full topic](https://community.kinsta.com/t/error-dk0031-port-80-and-443-is-used/101)._
