Localtest.me doesn't work on my machine - iis

I've just tried to do some local testing using the facility explained here:
http://readme.localtest.me
Anything with *.localtest.me will resolve to the local loop back but this isn't working on my machine.
If I ping localtest.me it doesn't resolve. So my question is am I missing something important here for this to work?

Related

I am trying to use the Python blocknative SDK but I keep receiving a Handshake Error and timing out

This is the Python code to be run - it simply screens for live transactions:
I get a handshake error when running it. I don’t know why something wrong with my local machine the code certainly works.
This is the github for blocknative https://github.com/blocknative/python-sdk
I’ve changed Python versions to 3.9
I’ve tried using a virtual environment
I’ve tried using it raw without virtual environment
I’ve tried Python 10
I’ve tried removing security ssh
I’ve tried mobile connection
I don’t know it just nothing seems to work. Any help here will be much appreciated. I know that it is something to do with my local machine but I don’t know where to start or how to fix

How to troubleshoot angular app hosted in WSL2

I am very new to development, so I apologize in advance if I am not being clear enough. I appreciate any feedback on the question and how to better pose it.
I'm currently working on an angular app hosted in WSL2. To get it to run locally, this is what I do:
Launch solution in VS Code
From terminal, run npm start
Then, I click on Run and Debug
Once I get the Now listening on: ..... message, I move on to Chrome to start debugging my app
Since this morning, I keep getting a ERR_CONNECTION_REFUSED in the browser, and I'm currently waiting on IT to step in as there could have been some security changes placed that are blocking the requests. Also, I'm not using the VPN.
In the meantime, is there a way to know for sure (or get as close as possible to) what is causing the connection to be refused in my particular scenario? I'm curious about it, but I don't know how to even search the topic properly due to lack of proper terms.
What should one do to at least obtain more details about the issue on their own (perhaps, to help expedite help by collecting important info upfront)? Where my apps are hosted in WSL2, I get very confused between the ip address originating the request and that of the server.
I appreciate any guidance anyone could provide.
It turned out there was a VPN software running where the firewall was ON, even though I was not in the VPN (it went on after I connected to the VPN the previous day). I guess there was nothing else I could have done anyway.

Elm not able to access the network

TL;DR: Everything network-related is working perfectly except one specific binary (in this case - elm).
I am running a new arch machine - I am connected via wifi and have networks access.
However - elm does not seem to know that. Running elm make fails when it tries to download the dependencies. (This is a project imported from somewhere else).
I could not connect to https://package.elm-lang.org to get the latest list of
packages, and I was unable to verify your dependencies with the information I
have cached locally.
Are you able to connect to the internet? These dependencies may work once you
get access to the registry!
Adding the IP of package.elm-lang.org to /etc/hosts fixes that, but it then throws a similar error for github.com. I can keep doing that, but surely there is a way to convince elm to access the internet.
I'm not using a proxy or anything like that. My connection obviously works and seem stable. elm init also fails for the same reasons so i'm unable to test on a brand new directory.
Thank you all for your help :)
Apparently fresh arch uses the systemd-resolved daemon for DNS, but elm decides to just read resolv.conf directly (which is blank), and then defaults to 127.0.0.1 as the DNS server.
Setting a DNS server manually in resolv.conf did the trick.

SSH Tunnel - ports issue?

I'm having an issue with an SSH tunnel and I understand it may be a permissions issue with my local ports, most probably 127.0.0.1:3308. However I've run my program as an administrator (sudo python3 myprogram.py) and I still have the same problem - but surely the administrator should have access to everything? I've tried searching on here and Googling "permission on local ports" but I didn't find anything useful.
Context: I'm still trying to complete step 2 of my original request. I didn't get very far with my original question so I asked again on Github which is where I got the feedback about the permissions issue.
I'm also not sure what tags to put on this question - feel free to improve them. For me, this is Python 3 on a Raspberry Pi but if it's an issue with permissions then it's probably not specific to Python and it's likely to be Linux generally rather than Raspian specifically!
Thanks in advance.
So in this end, this wasn't an issue with permissions on ports (which is maybe why the question was downvoted) so I'm closing this question. I'll put the solution on the original question.

Cannot access websites on apache from outside the server

I have a debian 7.5 based Ubuntu server, apache 2.2.22.
It's a rather vanilla installed XAMP used as a basic web server.
It used to work fine and I have no idea why it stopped working suddenly (there was some maintenance today but it worked when I left it - I changed partition sizes with Gparted).
When I try to access a website from the server (tried with w3m) all is working OK, including PHP and MySQL access.
When I try to access the same host (using a domain) from the outside, the browser keeps loading for a long while, eventually (after few minutes) saying the page could not be loaded.
I made sure that ports are open and accessible with outside scanner.
So I'm sure the Apache is available (working from inside the network, websites loading from SSH using w3M and pinging)
I'm sure the server is connected to the web (I can use putty to SSH)
the host is resolving to the correct IP (but won't ping from outside, only inside)
The ports seems to be opened (scanned and got OK for port 80)
I'm not a professional IT, so If there is info I can add that could help just ask away.
would really appreciate any idea or direction.
Thanks!
I still suspect the UFW/iptables firewall is blocking all incoming connections... Please go through this article and double check
http://www.cyberciti.biz/faq/ubuntu-server-disable-firewall/
If you're sure that the firewall config is OK, please try packet capturing with Wireshark to see what's going on underneath.
http://www.youtube.com/watch?v=sOTCRqa8U9Y How to install
Thanks for the help,
Oddly enough - It just started working again after 12 hours of not working.
A friend of mine, an IT person just called to try and help, and he simply connected (5 mins after I tried) and said it's all working for him.
I tried, and it's working for me also.
Have no idea why it stopped working, and why it is working now.
I think it might be an ISP problem or a router issue... The server is in our offices so I guess it could be both. I just don't understand why SSH would work and HTTP wouldn't.

Resources