February 14, 2023, 12:47am
I have a C program that opens a listening port, and I presume this triggers the automatic Webview.
The Webview does not work since the port is not designed to be used as requested by Webview. The Webview prevents my program from working.
Please make the Webview an optional configurable element.
Welcome to the community!
You can disable it by going to Tools > Settings:
If the post helped you can mark it as a solution!
February 15, 2023, 1:46am
Well, it works for direct access to the repl, but not when it is embedded. I have looked at other posts which suggest adding ?embed=true&lite=true&outputonly=true. This does not seem to work. I just want to see the console when it is embedded. BTW, this is how it used to work when I first configured it.
February 15, 2023, 10:00pm
Make it listen on
127.0.0.1, that’ll fix it.
February 15, 2023, 10:02pm
That just hides the problem
February 15, 2023, 10:36pm
Will not work since it is a server and needs to be accessible; it’s just that it is a very special service. Without going into too many technicalities, Webview fails and makes the service fail.
As I mentioned before. I have had this repl embedded for a long time, and I just noticed that it is no longer working, so it is your newer changes that made it fail.
February 16, 2023, 9:19pm
February 16, 2023, 9:32pm
This is so not applicable. Why would you even suggest this?
I have a special service that that no longer works due to your changes.
February 16, 2023, 9:41pm
If it’s a non-HTTP service, make it bind on 127.0.0.1
February 16, 2023, 9:55pm
I am not going to go into a lengthy reason for why I need it the way it is. All of your responses are of no use.
Please have your repl service provide a feature that makes it possible to use it how it used to work. It’s simply an error from your side in making the type of assumptions you have made.
February 16, 2023, 10:00pm
I don’t work for Replit. I’m just trying to help. Also,
if you don’t want a repl to open a webview for a port, don’t make it listen on 0.0.0.0
Add to the
localPort = # local port of your service here
externalPort = 9000
:9000 when accessing the special service externally.
Then you could host a webserver on a different port to your special service which contains the output you need
February 16, 2023, 11:02pm
I see. Well, I filed this as a bug report, so I assumed you worked for Replit.
This is a user forum, where users and staff alike can answer questions. As 9pfs1 said, anyone can see this, and I will add that you don’t even need a Repit account to see this.
February 16, 2023, 11:45pm
Thanks for all your community support. I will carefully test each option and see if anyone of them will help me