You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@baremaps.apache.org by ad...@apache.org on 2022/12/12 14:33:08 UTC
[incubator-baremaps-site] branch ip-to-location-port-9000 created (now 1de81c9)
This is an automated email from the ASF dual-hosted git repository.
adrabble pushed a change to branch ip-to-location-port-9000
in repository https://gitbox.apache.org/repos/asf/incubator-baremaps-site.git
at 1de81c9 Use the port 9000 in the IP to location example
This branch includes the following new commits:
new 1de81c9 Use the port 9000 in the IP to location example
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
[incubator-baremaps-site] 01/01: Use the port 9000 in the IP to location example
Posted by ad...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
adrabble pushed a commit to branch ip-to-location-port-9000
in repository https://gitbox.apache.org/repos/asf/incubator-baremaps-site.git
commit 1de81c9e74584c3165f1d4b45be151db9dbae3f6
Author: Antoine Drabble <an...@gmail.com>
AuthorDate: Mon Dec 12 15:33:05 2022 +0100
Use the port 9000 in the IP to location example
---
examples/ip-to-location/index.md | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/examples/ip-to-location/index.md b/examples/ip-to-location/index.md
index 11be4e5..7bad3c3 100644
--- a/examples/ip-to-location/index.md
+++ b/examples/ip-to-location/index.md
@@ -40,12 +40,12 @@ baremaps workflow execute --file examples/geocoding/workflow.json
The following command will serve the Geonames index over HTTP in a simple web application.
```
-iploc serve --database iploc.db --port 3000
+iploc serve --database iploc.db --port 9000
```
-Go to [http://localhost:3000/](http://localhost:3000/) to see it in action.
+Go to [http://localhost:9000/](http://localhost:9000/) to see it in action.
## Conclusion
In this tutorial, we learnt how to create an IP to location index and serve it in a simple web application.
-IP to location has many uses, one of which is to locate users that connect to a website to generate statistics.
\ No newline at end of file
+IP to location has many uses, one of which is to locate users that connect to a website to generate statistics.