The port exposure capability allows your Utari workers to make custom development servers and applications accessible by exposing specific ports. While port 8080 is automatically exposed, you can expose additional ports for applications running on different ports, enabling you to test multiple services simultaneously or work with applications that require specific port configurations.
Port 8080 Note: Port 8080 is automatically exposed and does NOT require manual exposure. Use this tool for all other ports.
Frontend: React on port 3000 (expose) Backend API: Express on port 5000 (expose) Database Admin: Port 5432 (expose if needed) Monitoring: Port 9090 (expose)
Specific Application Requirements
Some applications require specific ports:
Database interfaces and admin tools
Monitoring dashboards
Development tools (Webpack dev server, etc.)
API documentation servers
Testing frameworks
Custom Configuration
When you’ve configured your application for a specific port:
Copy
// Server configured for port 4000 app.listen(4000, () => { console.log('Server running on port 4000'); });
Launch your development server on the desired port:
Copy
# React development server npm start # Typically runs on port 3000 # Flask application python app.py # Typically runs on port 5000 # Custom Node.js server node server.js # Runs on configured port
2
Request Port Exposure
Ask your worker to expose the port:
Copy
Please expose port 3000 so I can access my React app
3
Receive Access URL
Your worker provides a public URL:
Copy
Port 3000 exposed successfully! Access your application at: https://[unique-url].utari.app
4
Access Your Application
Click the provided URL to access your running application.
# Terminal 1: Frontend on port 3000 (non-blocking) npm run dev # Terminal 2: Backend on port 5000 (non-blocking) python api_server.py # Terminal 3: Database UI on port 8081 (non-blocking) npm run db-admin
2
Expose All Ports
Copy
Please expose ports 3000, 5000, and 8081
3
Get All URLs
Copy
Ports exposed successfully: - Port 3000: https://[url1].utari.app (Frontend) - Port 5000: https://[url2].utari.app (API) - Port 8081: https://[url3].utari.app (Database UI)
const express = require('express');const app = express();const PORT = 3000;app.listen(PORT, () => { console.log(`Server running on port ${PORT}`);});// Request exposure for port 3000
Advanced configurations for multi-service applications
Port exposure enables your development workflow in Utari, allowing you to run and access multiple development servers, test full-stack applications, and work with framework-specific tooling—all through simple conversational requests.