# Finding your URL

This page is for hosts with public IP's, or hosting from home.\
If you're using Replit go to the [Replit Page](/top.gg-voting-node-sdk/guides/readme/running-webhooks-on-replit.md)

## URL structure

When using webhooks a domain is not necessary, instead you can use your IP.\
The structure is simple. `http://YOURIP:PORT/PATH`

## Finding your public IP

Most hosts will provide you a public IP, you can find this public IP in the dashboard of your host. If you're unsure where to find it contact your hosts support.\
\
For developers hosting from home refer to [this](/top.gg-voting-node-sdk/guides/readme/running-webhooks-from-home.md#finding-your-public-ip).

{% hint style="warning" %}
Make sure not to use a private IP, or an internal IP. Webhooks need to reach your code using public means, private IP's are used internally.
{% endhint %}

{% hint style="danger" %}
IP's are sensitive information, you should not be sharing it with other users.
{% endhint %}

## Your port and path

The post and path is something you set in code.

```javascript
const topgg = new VotingSDK("SomeSuperSecretAuth!", {
  port: 3000,
  path: "/topggwebhook",
});
```

By default the VotingSDK will set the port to 3000 and the path to "/topggwebhook".\
So your URL would look something like this. `http://YOURIP:3000/topggwebhook`.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://top-gg.gitbook.io/top.gg-voting-node-sdk/guides/finding-your-url.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
