I am trying to test my website on Opera Mobile on my PC. But I am not able to connect to the local server using the mobile browser. Could any one of you tell me what all settings need to be changed in order to make this thing work?
Your answers will be greatly appreciated.
Thanks in advance, Yamini
Using Opera Mobile in non turbo or non mini mode should work for accessing your locally hosted server.
Try going into the Settings of Opera Mobile and turning off Compression/Mini/Turbo.
Then you should be able to access your localhost/127.0.0.1 hosted site.
Alternatively, try using the IP address of your own machine rather than the local address.
Are you using the Opera Mobile Emulator from http://www.opera.com/developer/tools/mobile/ ? If so, you should be able to access any web/IP address, just like in a normal web browser.
In case you're trying to run a copy of Opera Mini in the MicroEmulator, then it's likely you can't access a local server - your site will need to be published (e.g. on a secret URL) so the Opera Mini servers can reach it.
来源:https://stackoverflow.com/questions/7679100/how-to-access-local-server-on-a-pc-using-opera-mobile