# Repetier Server

## Local or Global

Since most 3D printers are only connected to intranet (not internet), it is safer to connect to them via local network. This requires that you access C6 from the same network which you 3D printer is connected to.

If you want to access the 3D printer globally i.e. via internet, it opens up a wide variety of risks. Imagine your 3D printer is available via a link on the internet. If anyone gets their hands on this link and credentials, they can control your 3D printer from anywhere. **Hence our recommended way to connect is through your local network.**&#x20;

To connect to a local network Repetier Server, there are two ways to allow the communication

1. Allow mixed content
2. Install SSL certificate on Repetier Server and install the certificate in your browser

### 1. Allow Mixed Content

To connect to a local Repetier Server, you can allow mixed-content in your browser. C6 is designed with full **https** support for enhanced security of data. Since your 3D printer is on a local server, and by default Repetier Server does not come with an SSL certificate, the server URL is **http** URL e.g. <http://192.168.0.111>

Since C6 is fully HTTPS, running HTTP URL requires you to tell the browser that it is OK to accept data from an HTTP connection.&#x20;

#### Open Browser security settings

Open the security settings by clicking on the **Lock** icon -> Site Settings

<figure><img src="https://2725271476-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2Q7lAVMQdQQOQTm1U60O%2Fuploads%2FZMveKAEU1xjG3UKtLUi4%2FScreen%20Shot%202022-08-31%20at%206.13.42%20PM.png?alt=media&#x26;token=7a545364-0313-4865-9980-32015958d956" alt=""><figcaption></figcaption></figure>

Find the **Insecure Content** setting, and select **Allow**, to allow HTTP content in the browser

<figure><img src="https://2725271476-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2Q7lAVMQdQQOQTm1U60O%2Fuploads%2FPeH1rfbiRkfpBy8DT7d6%2FScreen%20Shot%202022-08-31%20at%206.14.08%20PM.png?alt=media&#x26;token=e977c7a7-357b-4e95-b81c-90a7d47a4542" alt=""><figcaption></figcaption></figure>

{% hint style="danger" %}
This is only OK when you are accessing the printer from your local network and a local system. Allowing **Insecure Content** when you access internet other than C6 can result in insecure data related issues.
{% endhint %}

Once the setting is selected, the page will ask for a reload. Reload the page and then connect to Repetier Server with the steps mentioned below.&#x20;

## Connect to Repetier Server Locally

1. Once logged in , you will see a printer icon on far right of the screen. Click the icon to open **C6-Connect** module

<figure><img src="https://2725271476-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2Q7lAVMQdQQOQTm1U60O%2Fuploads%2FJvyMmzVYZzL0lx8QxlUC%2FScreen%20Shot%202022-08-31%20at%206.20.35%20PM.png?alt=media&#x26;token=40374ae8-c5f4-46ab-8088-fb1dddb99960" alt=""><figcaption></figcaption></figure>

2\. In the connect module, enter your printer's IP, port number and API key and click **Connect** *(See* [*how to get Repetier Server API Key*](https://docs.c6.fabheads.com/faq#how-to-get-repetier-server-api-key)*)*

<figure><img src="https://2725271476-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2Q7lAVMQdQQOQTm1U60O%2Fuploads%2FwkCv5AfZZhYb9Uqjzi4x%2FScreen%20Shot%202022-08-31%20at%206.20.50%20PM.png?alt=media&#x26;token=abc6318f-5108-42bd-b265-4cab3078759e" alt=""><figcaption></figcaption></figure>

3\. Next screen will show you the available printers in your local network. Select one to proceed

<figure><img src="https://2725271476-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2Q7lAVMQdQQOQTm1U60O%2Fuploads%2FxRGyCD3NyhSoOipvbY0Y%2FScreen%20Shot%202022-08-31%20at%206.41.00%20PM.png?alt=media&#x26;token=ea52c91d-4496-4386-a2fd-f2bb5d78ba76" alt=""><figcaption></figcaption></figure>

4\. Now you can access all printer features from right within C6. This includes getting access to g-codes from your projects, monitoring the material used etc.&#x20;

<figure><img src="https://2725271476-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2Q7lAVMQdQQOQTm1U60O%2Fuploads%2F2XKZKAgV3uXJi5bb8SaD%2FScreen%20Shot%202022-08-31%20at%206.41.15%20PM.png?alt=media&#x26;token=bb2b7ca8-4ed7-4103-a378-bdc954810872" alt=""><figcaption></figcaption></figure>
