简体   繁体   English

Wordpress本地开发IP地址

[英]Wordpress local development IP address

I am developing a website locally on my machine using local by flywheel and I want to integrate a plugin called WP Store Locator and from their docs , requires two API keys:我正在使用飞轮在我的机器上本地开发一个网站,我想集成一个名为 WP Store Locator 的插件,并且从他们的文档中需要两个 API 密钥:

  1. Browser API Key used when data is requested from the Google Maps JavaScript API.浏览器 API 从 Google 地图请求数据时使用的密钥JavaScript API。 (No problem getting this) (得到这个没问题)
  2. Server API Key The server key is used when a request is made to the Google Maps Geocoding API to convert an address into a set of coordinates.(Here lies my problem, I don't know how to get my site's IP address)服务器 API 密钥当向 Google 地图地理编码 API 发出请求以将地址转换为一组坐标时,使用服务器密钥。(这是我的问题,我不知道如何获取我的站点的 ZA12A3079E14CED0921AAZ 地址)9

from local by flywheel they have this explanation but it's an already LIVE site.从本地飞轮他们有这个解释,但它已经是一个现场网站。

Help me get my local site IP.帮我获取我的本地站点 IP。

You can find your local IP address with the following steps:您可以通过以下步骤找到您当地的 IP 地址:

Windows : Windows

Press windows key and enter "cmd" to open the command promt window.按 windows 键并输入“cmd”打开命令提示符 window。 Enter ipconfig and hit enter.输入ipconfig并按回车键。 Your IP address is listed under "IPv4 Address".您的 IP 地址列在“IPv4 地址”下。

Mac :麦克

Click the apple menu icon and go to "system preferences", and click on "network".单击苹果菜单图标和 go 到“系统偏好设置”,然后单击“网络”。 You will find your local IP address on the right side in the sentence "Wi-Fi is connected to... and has the IP address..."您将在“Wi-Fi 已连接到...并且具有 IP 地址...”这句话的右侧找到您当地的 IP 地址。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM