my web server is on wsl, and beeware is on anaconda (windows version not linux), how do I configure beeware app to communicate with wsl server. is there a feasible way? current I'm using ngrok host as a gateway. Is there any alternate way that doesn't require data packet to travel outside my system Is there any guide to develop a local system?
Network configuration between nginx server (running on WSL) and Beeware app (Build and run from windows anaconda)
784 Views Asked by 8lurry At
1
There are 1 best solutions below
Related Questions in SOCKETS
- Node.js Server + Socket.IO + Android Mobile Applicatoin XHR Polling Error...?
- My server TCP doesn't receive messages from the client in C
- how is strncpy able to copy from source to empty destination?
- Python Multicast packet receiver stops receiving multicast packets when computer is connected to WiFi
- Python Client-Server Communication with Protocol
- Reversed TLS re-connection issue
- Android 13 & 14 seem to close WebSocket connection, if i put app in background, after ~20s
- Java SocketException: Connection reset,. What is the cause?
- Multipart/form-data with chunked data transfer (ICAP protocol)
- View Socket View
- Client connection timeout during Android & Windows PC communication via sockets
- Browser connect to raw sockets even possible?
- Protocol 43200 after unpacking received data
- Unity SocketIo using Best http2 plugin want to use in webgl
- How does pre-allocating a pool of SocketAsyncEventArgs objects upfront improve the performance of a server application in c#
Related Questions in ANACONDA
- Conda has two different python binarys (python and python3) with the same version for a single environment. Why?
- Can't install packages in python conda environment
- Error after command biogeme = biogeme.BIOGEME (database, logprob)
- Jupyter notebook: " No module named 'google.colab'", after having updated Anaconda
- How to transfer all conda environments to new computer
- Auto-activation of the conda environment in the terminal (ps, cmd, bash) in VS Code on Windows 11 does not work. How to solve this problem?
- How to use Anaconda?
- CUDA driver initialization failed, you might not have a CUDA gpu
- Seem to have broken Spyder via Anaconda update (?)
- I don't know why I got the error: invalid literal for int() with base 10: ''
- Chosen path already exist: Reinstalling anaconda navigator on macOS
- RuntimeError: PytorchStreamReader failed reading zip archive: failed finding central directory when running command to train yolov5 on custom data
- python anaconda conda-pack - environment doesn't exist
- Anaconda runs when I right-click the arrow button instead of showing the menu
- Resolve Miniconda Permissions in Ubuntu?
Related Questions in WINDOWS-SUBSYSTEM-FOR-LINUX
- WSL able to touch file but mkdir: Permission denied
- Microsoft VS Code not showing MFA code when logging into WSL
- How do I install wsl on a PC with a clean install of Windows 11 using ubuntu.tar, an image file created and saved on a previous PC?
- Why does the following program printf "thread 1 exists" twice in WSL2?
- Text selection replacement in ZSH
- tail -f does not follows files on WSL
- Python doesn't detect the library
- Error "libicui18n.so.73: cannot open shared object file" after installing Node.js via Homebrew on Windows Subsystem for Linux (WSL)
- Docker Desktop - Unexpected WSL error And WslRegisterDistribution failed with error: 0x80041002 Error: 0x80041002 (null)
- Windows WSL yarn command appends folder name at end of import
- I am having an issue in using my C++ and python oot blocks with my gnuradio C++ flowgraph
- Run a Linux application on WSL from a Windows python script
- Why does gmsh not work in WSL2 after installing from source?
- Is there a way to install the vscode plugin offline in the local WSL via vscode's ssh?
- There Windows 10 WSL 2 network doesn't work
Related Questions in LOCAL-NETWORK
- Deploy my Django project in my private network
- sending serial data from Android to a com port on PC through local network
- How do i send api post to local even after change ip?
- Resolve mDNS in local network with javascript from https origin
- How to get audio using INMP441 with esp32 to Android application for 2 way audio communication?
- Unable to run python websockets on local network
- Maximum Possible Data Transfer Speed Over Local Wi-Fi Network
- LocalNetworkGatewayCannotHaveEmptyAddressPrefixAndBgpSettings Error when setting up local network gateway
- How can I find a application or service on the local network?
- how to access to reactjs in local network
- Android keeps disconnects & connects to WIFI network
- Cannot resolve Ip address using hostname in android?
- WebRTC remote users cannot connect to each other
- Connect to localhost server with second device
- p2p connection works correctly only in one way
Related Questions in WEBDEV.WEBSERVER
- Trouble Importing fs Module in JavaScript File to Read txt File. The js file is linked to HTML File
- Numbering are not showing on the side of header.php codes area
- Empty index.html after building my vite react project
- Why is this says Uncaught TypeError: Cannot read properties of undefined (reading 'map') but when i reload the page it works file
- FastAPI Error Handling : Need to handle Primary Key and Unique Key Violations but the Code never runs the Exception Handling part
- Node.js - Serverside Command Promp Commands input?
- Network configuration between nginx server (running on WSL) and Beeware app (Build and run from windows anaconda)
- PageSpeed Insights: Reason for long time of "Largest Contentful Paint"
- Is webdev.webserver.exe dead?
- Is it possible to directly connect frontend to the database?
- npm related tasks are throwing errors during installations
- Apache WILL NOT start without the configured ports free,How to fix this error in xampp?
- Connecting to a Oracle database and displaying the contents in a web browser
- Download file from webdav server
- deploying project to domain, server error: Connection failed: Connection timed out
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
I'm going to attempt to answer this generically since I don't currently use Beeware/Anaconda. I tried skimming the Beeware docs, but too much of it (including the "publish", which might be a key element in the nginx integration) is "Coming soon".
Assuming there are no virtual machines or containers in the mix, Windows should detect ports on the WSL2 instance and map them correctly to localhost. For instance, if in WSL you
python3 -m http.server 3000, then you should be able to open that page in a Windows web browser at http://localhost:3000. So, by default, Anaconda on Windows should be able to access your web server in WSL through localhost. If this isn't happening:wsl --shutdownto reset the interfaces. A longer-term fix might be to disable Windows Fast Startup.On the flip side, if there is any connection from nginx that needs to be made to Beeware/Anaconda, WSL2 does not map localhost back to the Windows host. You'll need to access it by the Windows host IP.
The easiest method is using mDNS, meaning from within WSL2 you can access the Windows host at the mDNS name "mycomputername.local", where mycomputername is the Windows "computer name".
See this answer for more details and alternatives if mDNS doesn't work.