Don't know if this is more realted to SuperUser, but here's my problem anyway:
I wrote a tcp server with Python for Raspberry Pi and a client with C# for a any Windows based PC. I first tested it my main PC through router and everything was working fine. Then I changed the server side (Pi) to host its own access point where everyone can connect.
I tested that with a EeePC running Win 7 Ultimate (Intel Atom, veeeeery slow) and it worked. Problems started when I moved the client software to that mini laptop; tried to connect to the server, connects normally, but when client starts to send it says "The remote host has closed the connection" (or something like that, I'm using Finnish OS).
I immediately thought that it has something to do with the Pi's access point so I connected my mini laptop to my router and tried to connect to my main PC, same thing. Then I started to worry if my client software is broken, but I took one last test and tried to connect with my main PC to the mini laptop and this time, no errors, only VERY slow connection (at least I think so, because only part of my controls went through with ultimate latency).
So where is the problem? The mini laptop aka EeePC or what? Why does it say that the remote host disconnected?
EDIT:
I founded a nano USB Wi-Fi dongle and plugged that to my main PC and then connected to Pi's access point with it. Everything worked like a charm, there was no latency at all.
It must be the mini laptop, so I give some specs:
Just installed clean copy of Win 7 Ultimate with no firewall, antivirus or anything. Installed only Service Pack 1 and Redistributable for Visual Studio 2013. Drivers are Windows default.
Related
My setup is a Raspberry Pi3 with WPF-app that connects to a MySQL DB on a mini computer via wireless router. After minor changes in the app the Raspberry would not connect anymore. When using the IP-address of the mini computer it connects every time, switching back to server name it fails (“cannot connect to any of the specified hosts…”). The same app on the developing computer however connects using the server name.
That tells me the Raspberry is the problem. I set up a brand-new Raspberry with a brand-new SD-Card, but still the same.
On the developing side I updated VS Studio and set the min. target version to the newest (17134). But nothing helped. I tried debug, release and a package, all the same.
This setup started and worked reliably more than 100 times, and there is the same setup out for field testing, starting every day in the last 3 months, running 14 hours and never failed.
I searched 34 google pages of stackoverflow-questions related to MySQL connection but found nothing similar. I should have little hope therefore that someone has a clue…
I am trying to connect Windows Phone 8 emulator to the internet. I have tried all the tricks and steps given in Stack overflow or any other site but I am unable to get it.
I tried this:
Step 1 - using Hyper-V start the server, once started u can see the two new network adapters added in the (network sharing) page.
Step 2 - go to your visual studio IDE where your application runs, using Emulator run your application, once started try to open IE, it will not connect to internet.
Step 3 - now again come back to network sharing page right click on external adapter which was created newly select properties, hit on sharing tab, now check the two options to have tick mark if not tick that two options and click on OK.
Step 4 - internal adapter which was created newly will be changing the domain name from Unidentified network to your shared Domain name, once changed try to access the IE again in emulator which runs already. now i hope the internet connection works.
But once it's done it is showing:
The Windows Phone Emulator wasn't able to connect to the Windows Phone operating system:
The phone didn't respond to the connect request.
Some functionality may be disabled.
The resolution to which I found on internet was:
All you have to do is going to "Network and Internet --> Network Connections", right click on "vEthernet (Internal Ethernet Port) Windows Phone Emulator" and Enable it.
But it was already enabled .
So I don't know how to make internet work.
Some connection tools on the host can have negative effects when used with the emulator; I found having cisco VPN client installed on the host prevented the emulator from finding the internet. Other VPN clients may have similar side-effects. I simply uninstalled cisco (the inbuilt windows VPN is fine for what I need) and it worked perfectly.
I've also seen problems where it won't find the internet after the host has been suspended / resumed. In that scenario, it turned out to be bad network drivers. I installed a dedicated Intel NIC (rather than the on-board NIC on the motherboard) - problem solved.
Basically, Hyper-V is a bit fussy.
1.Check whether you are using latest internet explorer 10 or not. if not update and check it.
2.Still if it's not working, it could be the problem with your display drivers. You should have WDDM 2.0 drivers. Graphic card also goes well.
If you are using any proxy servers which require credentials for connecting to the internet, it may not probably get connected from the emulator.
This is because it doesnt support proxy authentication. The class for authentication are missing in the phone version of .Net
Please see the below post .
Not able to connect to webservice from a WP7 emulator
I am currently writing a WinRT application that has some network access to retrieve various details, I need to be able to simulate conditions when there is no network, or a very slow network to ensure that the app works as it should under these conditions.
How do I get the tablet emulator that is part of Visual Studio 2012 to simulate these conditions?
Cheers,
Rupert
To simulate "no network" you have to disable the networking on the host computer. It seems that the simulator shares the network with the host.
In regards to a slow network connection, you likely have to do this on the host again. See this post: Network tools that simulate slow network connection
I am currently running Windows 7 through Parallels on my Mac(mountain lion). I developed a web service using Visual Studios 2010. I am able to access the web service when I "Start program without debugging" but I still can't access the web service through another web browser (Chrome, Firefox, Safari).
Here is what I have done so far:
At first I thought it was something wrong with my network connection between OSX and Win 7 so I bridged the network through airport between OSX and Win 7. But for some reason the IP addresses are still different MAC (192.168.1.121) WIN 7(192.168.1.131). So I guess this could still be the problem.
The next thing I did was changed how Visual Studios starts the program from Visual Studio Development Server to Local IIS Server as was suggested through something that I found on the internet.
So my question is how can I access the webservice through another web browser using parallels?
for some reason the IP addresses are still different MAC (192.168.1.121) WIN 7(192.168.1.131)
Yes, it is supposed to be so, because they are different machines and have to have different IPs
Do you able to access the service from browser started in the same VM using address 127.0.0.1?
If yes, do you able to access it from Mac using IP-address of Win7?
If 2 fails, then you should try to disable Firewall in Win7 VM, most likely it blocks access to service.
Hi I'm trying to access internet in emulator when I'm connected to vpn using Cisco system vpn client.
I followed this link
but couldn't get much help.
I'm using Windows8 release preview and visual studio 2012 rc.
I'm able to connect to internet using desktop browsers..
Referencing this this guide, it looks as though you probably have a bridged network configuration or have the device bound to your physical interface. This would explain the behavior you described.
You want to have the virtual machine bound to the tunnel interface created by your VPN connection. If there is a way to choose a NAT option in this dialog, try it. This would be best as it takes whatever path to the internet your computer is configured to take and doesn't require a seperate IP address to be given to your VM from the VPN server.
Using this dialog select the Tunnel/Virtual/Not Physical interface created when you connect to VPN.
Good luck!
you can ask your vpn administrator to give rights for accessing their internet to the user by which you are connecting VPN.
As pointed our earlier it might be because your VPN is restricting your access to the internet. If so, a workaround would be to have your VPN administrator setup a remote desktop you could connect to through the VPN, then run the emulator on the remote desktop to connect to the internet.
Alternatively try to disable any antivirus/firewall suite you have installed to see if it blocks the emulator.