---
title: "mac查看端口占用"
author: "wandejun1012"
date: "2016-08-17T20:18:01Z"
tags: []
categories: ["操作系统"]
slug: "mac"
draft: false
lastmod: "2016-08-17T20:18:01Z"
id: 2318062
url: "https://wandejun1012.iteye.com/blog/2318062"
---

命令 lsof -i tcp:port  （port替换成端口号，比如6379）

 

[参考链接](http://www.cnblogs.com/edgarli/p/4131682.html)