This article is intended for developers using LangChain or LangGraph who run their projects on a remote server and want to access them through LangSmith Studio without setting up a local development environment.
When working in teams or using server-side resources (such as local LLMs), accessing LangSmith Studio can become challenging due to networking and browser security constraints. This guide explains the problem and presents reliable solutions.
When developing a LangChain or LangGraph project locally, LangSmith Studio can be accessed using a URL similar to the following:
https://smith.langchain.com/studio/?baseUrl=http://127.0.0.1:2024
This works because LangSmith Studio communicates with a locally running API server.
However, this approach has an important limitation.
The 127.0.0.1 (localhost) address refers to the user’s own machine, not the remote server.
As a result:
This becomes impractical or impossible when:
In theory, LangSmith Studio can connect to a remote server by pointing baseUrl to a public IP address:
https://smith.langchain.com/studio/?baseUrl=http://SERVER_IP:2024
Before proceeding, ensure that:
SERVER_IP:2024 is publicly accessible (NAT / port forwarding configured if needed)--host SERVER_IPYou can verify access with:
curl http://SERVER_IP:2024
If the configuration is correct, the server should respond with "Not Found" or you should be able to access:
http://SERVER_IP:2024/docs
When opening the Studio link in the browser, you may see the following error:
Failed to initialize Studio
Please verify if the API server is running or accessible from the browser.
TypeError: NetworkError when attempting to fetch resource.
In the browser console, you may notice an error similar to:
mixed content loading blocked
LangSmith Studio is served over HTTPS, but it attempts to communicate with an HTTP API server.
Modern browsers block this behavior because secure (HTTPS) pages are not allowed to load resources over insecure (HTTP) connections. This is known as a Mixed Content restriction.
One workaround is to proxy the remote server through the developer’s local machine:
localhost → proxy → remote server
For example:
http://127.0.0.1:2024/assistants/search
is forwarded to:
http://SERVER_IP:2024/assistants/search
⚠️ This approach is generally unsuitable for collaborative or production environments.
✅ Recommended approach
The most reliable and scalable solution is to expose the API server via a domain name secured with HTTPS.
Your Studio URL becomes:
https://smith.langchain.com/studio/?baseUrl=https://SUBDOMAIN.YOUR_DOMAIN
You can obtain a free TLS certificate using Certbot:
sudo certbot --apache
<IfModule mod_ssl.c>
<VirtualHost *:443>
ProxyPreserveHost On
ServerName SUBDOMAIN.YOUR_DOMAIN
ProxyPass / http://SERVER_IP:2024/
ProxyPassReverse / http://SERVER_IP:2024/
RewriteEngine on
SSLCertificateFile /etc/letsencrypt/live/SUBDOMAIN.YOUR_DOMAIN/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/SUBDOMAIN.YOUR_DOMAIN/privkey.pem
Include /etc/letsencrypt/options-ssl-apache.conf
</VirtualHost>
</IfModule>
After this setup, LangSmith Studio can securely communicate with the remote server without browser restrictions.
You can now access your remote project using:
https://smith.langchain.com/studio/?baseUrl=https://SUBDOMAIN.YOUR_DOMAIN
This configuration allows:
By exposing your LangGraph or LangChain server through an HTTPS-secured domain, you eliminate Mixed Content issues and enable seamless access to LangSmith Studio for your entire team. This approach is ideal for production systems, collaborative development, and server-only model deployments.