OpenCPN & GPS2IP
Use GPS2IP on your iPhone/iPad as a GPS
Connect to the free OpenCPN software to effortlessly chart your boat's location
Normally, you would have your iPhone or iPad on the same network as your computer running OpenCPN, connected over wi-fi.
You can select which network interface you are using on the main GPS2IP page (in the Network Selection section).
OpenCPN can accept GPS2IP data when configured in Socket mode.
It is important that you know the IP address of your iOS device, in order to configure OpenCPN correctly.
You can check the IP address by selecting Wifi IP under Network Selection in the settings, and hitting the little .
For our example, we will assume an IP address of
OpenCPN needs to connect to a 'port' - it is not normally important what number you use - the default GPS2IP one should be fine.
GPS2IP acts as a 'socket' to OpenCPN, so you must select Socket under Connection Method in the settings.
To check (or change if necessary!), hit the little next to Socket.
For our example, we will assume an port number of
Now it's time to make the connection in OpenCpn..
It is recommended to be running the latest version of OpenCPN to ensure optimal performace and stability.
If you have good GPS reception, you should be able to enable GPS2IP, and see NMEA data in the debug Window of OpenCPN.
This is what I'm getting:
(The IP address and port show this is the the currect iOS device - they are the same details that I have just entered)
If the data is coming through ok - your position should be displayed on the main chart.
If there is no NMEA data in the debug window - you'll have to investigate further.