GitHub user dosubot[bot] added a comment to the discussion: Connecting Trino 
from Different Machine (Superset)

<!-- Greeting -->
Hello @farhanqv! I'm here to help you with your issues, answer questions, and 
assist you in becoming a contributor while you wait for a human maintainer. 
Let's tackle that Trino connection problem together!

<!-- Answer -->
To make your Trino server accessible from external machines, you need to ensure 
that the network settings on your VM allow external connections. Here are some 
steps you can follow:

1. **Check Firewall Settings**: Ensure that the firewall on your VM allows 
incoming connections on port 8080. You may need to add a rule to allow traffic 
on this port.

2. **Network Configuration**: Verify that your VM's network configuration 
allows external access. This might involve checking the network interface 
settings to ensure it's configured to accept connections from other machines in 
the network.

3. **Update `discovery.uri`**: In your `config.properties`, change 
`discovery.uri` from `http://localhost:8080` to `http://10.119.105.190:8080`. 
This ensures that Trino uses the correct IP address for network communication.

4. **VM Security Groups**: If your VM is hosted on a cloud provider, check the 
security group settings to ensure that port 8080 is open to the IP range of 
your Superset machine.

After making these changes, try connecting again using the SQLAlchemy URI in 
Superset: `trino://user@10.119.105.190:8080/jmx`. This should resolve the 
connection issue if the network settings are correctly configured.


<!-- Dosu Comment Footer -->
*To continue talking to [Dosu](https://dosu.dev), mention @dosu.*

---
<sup>Help Dosu learn! Give it feedback: [Great 
Response](https://app.dosu.dev/response-feedback/2329a89d-8d96-497e-9ac7-2245d1352b21?feedback_type=great_response)
 | [Irrelevant 
Answer](https://app.dosu.dev/response-feedback/2329a89d-8d96-497e-9ac7-2245d1352b21?feedback_type=irrelevant_answer)
 | [Incorrect 
Sources](https://app.dosu.dev/response-feedback/2329a89d-8d96-497e-9ac7-2245d1352b21?feedback_type=incorrect_sources)
 | [Too 
Verbose](https://app.dosu.dev/response-feedback/2329a89d-8d96-497e-9ac7-2245d1352b21?feedback_type=too_verbose)
 | 
[Hallucination](https://app.dosu.dev/response-feedback/2329a89d-8d96-497e-9ac7-2245d1352b21?feedback_type=hallucination)
 | [Bug 
Report](https://app.dosu.dev/response-feedback/2329a89d-8d96-497e-9ac7-2245d1352b21?feedback_type=bug_report)
 | 
[Other](https://app.dosu.dev/response-feedback/2329a89d-8d96-497e-9ac7-2245d1352b21?feedback_type=other)</sup>


GitHub link: 
https://github.com/apache/superset/discussions/33459#discussioncomment-13165517

----
This is an automatically sent email for notifications@superset.apache.org.
To unsubscribe, please send an email to: 
notifications-unsubscr...@superset.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@superset.apache.org
For additional commands, e-mail: notifications-h...@superset.apache.org

Reply via email to