Skip to content
This repository was archived by the owner on Oct 22, 2025. It is now read-only.

Commit e19e6c3

Browse files
committed
chore: update default port from 6420 -> 8080 (#1015)
1 parent 3148438 commit e19e6c3

File tree

51 files changed

+79
-73
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+79
-73
lines changed

clients/python/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ import asyncio
2626

2727
async def main():
2828
# Create a client connected to your RivetKit manager
29-
client = ActorClient("http://localhost:6420")
29+
client = ActorClient("http://localhost:8080")
3030

3131
# Connect to a chat room actor
3232
chat_room = await client.get("chat-room", tags=[("room", "general")])

clients/rust/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ use serde_json::json;
3131
async fn main() -> anyhow::Result<()> {
3232
// Create a client connected to your RivetKit manager
3333
let client = Client::new(
34-
"http://localhost:6420",
34+
"http://localhost:8080",
3535
TransportKind::Sse,
3636
EncodingKind::Json
3737
);

docs/actors/actions.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ Calling actions from the client is simple:
7272
import { createClient } from "rivetkit/client";
7373
import type { App } from "./src/index";
7474

75-
const client = createClient<App>("http://localhost:6420");
75+
const client = createClient<App>("http://localhost:8080");
7676
const counter = await client.counter.get();
7777
const result = await counter.increment(42);
7878
console.log(result); // The value returned by the action
@@ -114,7 +114,7 @@ export type Registry = typeof registry;
114114
import { createClient } from "rivetkit/client";
115115
import type { App } from "./src/index";
116116

117-
const client = createClient<App>("http://localhost:6420");
117+
const client = createClient<App>("http://localhost:8080");
118118

119119
// Type-safe client usage
120120
const counter = await client.counter.get();

docs/actors/connections.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ const gameRoom = actor({
4242
import { createClient } from "rivetkit/client";
4343
import type { App } from "./src/index";
4444

45-
const client = createClient<App>("http://localhost:6420");
45+
const client = createClient<App>("http://localhost:8080");
4646
const gameRoom = await client.gameRoom.get({
4747
params: { authToken: "supersekure" }
4848
});

docs/actors/events.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ const chatRoom = actor({
3434
import { createClient } from "rivetkit/client";
3535
import type { App } from "./src/index";
3636

37-
const client = createClient<App>("http://localhost:6420");
37+
const client = createClient<App>("http://localhost:8080");
3838
const chatRoom = await client.chatRoom.get();
3939
await chatRoom.sendMessage('Hello, world!');
4040
```
@@ -67,7 +67,7 @@ const chatRoom = actor({
6767
import { createClient } from "rivetkit/client";
6868
import type { App } from "./src/index";
6969

70-
const client = createClient<App>("http://localhost:6420");
70+
const client = createClient<App>("http://localhost:8080");
7171
const chatRoom = await client.chatRoom.get();
7272
await chatRoom.sendPrivateMessage(123, 'Hello, world!');
7373
```
@@ -90,7 +90,7 @@ Clients can subscribe to events that will happen repeatedly using `actor.on(name
9090
import { createClient } from "rivetkit/client";
9191
import type { App } from "./src/index";
9292

93-
const client = createClient<App>("http://localhost:6420");
93+
const client = createClient<App>("http://localhost:8080");
9494
const chatRoom = await client.chatRoom.get();
9595

9696
chatRoom.on('newMessage', ({ message }) => {
@@ -125,7 +125,7 @@ Clients can listen for an event only one time with `actor.once(name, callback)`.
125125
import { createClient } from "rivetkit/client";
126126
import type { App } from "./src/index";
127127

128-
const client = createClient<App>("http://localhost:6420");
128+
const client = createClient<App>("http://localhost:8080");
129129
const chatRoom = await client.chatRoom.get();
130130

131131
chatRoom.once('joinRequestApproved', () => {

docs/actors/metadata.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ export default chatRoom;
5656
import { createClient } from "rivetkit/client";
5757
import type { App } from "./src/index";
5858

59-
const client = createClient<App>("http://localhost:6420");
59+
const client = createClient<App>("http://localhost:8080");
6060

6161
// Connect to a specific channel
6262
const randomChannel = await client.chatRoom.get({ channel: "random" });

docs/actors/overview.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ await client.chatRoom.get({ channel: "random" });
220220
import { createClient } from "rivetkit/client";
221221
import type { App } from "./src/index";
222222

223-
const client = createClient<App>("http://localhost:6420");
223+
const client = createClient<App>("http://localhost:8080");
224224

225225
// Game room with ID parameter
226226
const gameRoom = await client.gameRoom.get({ roomId: "ABC123" });

docs/actors/quickstart-frontend.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ import { useState } from "react";
5252
import { createClient, createRivetKit } from "@rivetkit/react";
5353
import type { Registry } from "../backend/registry";
5454

55-
const client = createClient<Registry>(`http://localhost:6420/registry`);
55+
const client = createClient<Registry>(`http://localhost:8080/registry`);
5656
const { useActor } = createRivetKit(client);
5757

5858
function App() {

docs/clients/javascript.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ The RivetKit JavaScript client allows you to connect to and interact with actors
8282

8383
async function main() {
8484
// Replace with your endpoint URL after deployment
85-
const client = createClient<App>("http://localhost:6420");
85+
const client = createClient<App>("http://localhost:8080");
8686

8787
// Get or create a actor instance
8888
const counter = await client.counter.get();

docs/clients/python.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ The RivetKit Python client provides a way to connect to and interact with actors
5151

5252
async def main():
5353
# Replace with your endpoint URL after deployment
54-
client = AsyncClient("http://localhost:6420")
54+
client = AsyncClient("http://localhost:8080")
5555

5656
# Get or create a actor instance
5757
counter = await client.get("counter")
@@ -80,7 +80,7 @@ The RivetKit Python client provides a way to connect to and interact with actors
8080
from rivetkit_client import Client
8181

8282
# Replace with your endpoint URL after deployment
83-
client = Client("http://localhost:6420")
83+
client = Client("http://localhost:8080")
8484

8585
# Get or create a actor instance
8686
counter = client.get("counter")

0 commit comments

Comments
 (0)