Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Unable to connect on port 8080 #36

ash007osh opened this Issue Nov 28, 2011 · 19 comments


None yet
9 participants


I am using iPhone 3G 4.2.1 (Jail Broken). I installed the App yesterday, as I really liked the idea. But unfortunately, so far I am unable to use it. I am on windows 7 & using Firefox. I also tried to reboot the fone but no luck. Then I tried to open the URL from my iPhone's Safari browser but even then I was unable to open it. Any idea on what the problem can be?

My laptop's IP is coming as & iphone's is, so I am not sure where the problem can be!!
I am trying to open from the browsers..

I did a port scan of my iphone & found that port 8080 is not even open..!! I have checked in SBSettings and WifiSMS is ON there.. So what could be the problem that port is not opening up?


phuzE commented Nov 28, 2011

I also have this issue - iOS 4.1, windows 7 x64, tried opera and chrome. I've enabled/disabled wifiSMS in sbsettings several times, restarted my phone, etc. I can SSH in fine, have turned off my firewall, nothing seems to work.

Hi, I've just installed this app, rebooted, reinstall, rebooted, unistall, install, rebooted and I can't connect on :8080. i've download netstat on AppStore and I don't see the port 8080 in listening .

I've try with the SBSetting wifiSMS icon on ON and OFF.

i've an Iphone 3G under iOS 4.2.1 and i've installed the WifiSms with cydia.

Can you describe how install the application with ssh and .deb ?

Thanks for help ;)

Still not able to use this App.. May you provide us the location where this App gets installed..? I dont see it inside /Applications. Also, is there any location where logs get generated?

Well I found following...

cat /private/var/mobile/Library/SBSettings/Commands/com.WifiSMS.enable

if [ -f /tmp/WifiSMS-ON ]
rm -f /tmp/WifiSMS-ON;
killall WifiSMS;
touch /tmp/WifiSMS-ON;
sudo -u mobile nohup /User/Library/WifiSMS/WifiSMS "$*" > /dev/null 2>&1 &

So I tried, running the command as it is.. but Redirected the outout to /tmp/newlog..

iPhone:~ root# sudo -u mobile nohup /User/Library/WifiSMS/WifiSMS "$*" > /tmp/newlog
nohup: ignoring input and redirecting stderr to stdout
nohup: failed to run command `/User/Library/WifiSMS/WifiSMS': Bad CPU type in executable

iPhone:~ mobile$ file /User/Library/WifiSMS/WifiSMS
/User/Library/WifiSMS/WifiSMS: Mach-O executable acorn

Is there some compatibility issue with iPhone3G????

phuzE commented Dec 12, 2011

I'd just like to add that I'm also using an iPhone3G (forgot to specify when I originally posted)

shaszard commented Jan 3, 2012

I don't think is a wifisms issue - I also had problems so tried accessing it from the iPhone itself. That worked fine, I tested OpenSSL and "Folders" app as well.

Basically it seems the iPhone is simply ignoring inbound requests or blocking them somehow. I think it's specific to the 3GS phone and possibly only iOS 5.0.1.

Anyone able to confirm these thoughts??

phuzE commented Jan 3, 2012

Possibly, but it can't be exclusive to the 3GS or iOS 5.0.1

Everyone posting in this issue previously has an iPhone 3G and <= iOS 4.2.1

shaszard commented Jan 3, 2012

Lol I should learn to read properly before posting sorry :)

fopina commented Mar 21, 2012

The app is compiled with armv7 only (3GS and up, 3G is armv6) I believe.
Simply recompiling it with armv6 added to architectures should let it run in 3G.

phuzE commented Mar 21, 2012

Hmm, that would be awesome if the issue was that simple. Unfortunately I'm not sure how to try that fix myself - would it be too much to ask for you to create a separate branch for the 3G? I'd be able to test it pretty quickly if that was the case.

fopina commented Mar 21, 2012

Well, the bad cpu type is definitely from being compiled with the wrong architecture. And if it only happens in a 3G is must be armv6 missing in the supported architecures.
Unfortunatelly, due to #32 I can't compile WifiSMS working for iOS4. Well, I can compile but sending SMS won't work (everything else should). That's why I only said what should fix it, but not actually done it :)

fopina commented Mar 21, 2012

Ok phuzE, I assume you can get around with deb files, so here's a version compiled for armv6. To remember: sending SMS won't work, this is just to see if everything else works :)

phuzE commented Mar 21, 2012

Nice, worked like a charm! So sending SMS is not possible or just currently not working?

Thanks again.

fopina commented Mar 21, 2012

As I said before, the code to send SMS in iOS4 is there, it's just that I can't compile that part in my environment, but treason can. I've sent a pull request with the change and let's just hope he includes that flag in his next release :)

gplanas commented Sep 8, 2012

I had the same issue. However, I have a iPhone 4 running IOS 5.1.1. I plugged my phone into my PC to charge and it worked.

same issue (not being able to connect to 8080) on iphone 5, ios 6.1.

Tatsh commented Feb 5, 2013

Also cannot get this work here. Connection is refused.

Tatsh commented Feb 6, 2013

It crashes on start. Crash log here: https://gist.github.com/Tatsh/625fabe99fe1e7acceb5

This is from a iPhone 3GS running iOS 6.1.3:

dyld: Symbol not found: _OBJC_CLASS_$_CKSMSService
  Referenced from: /User/Library/WifiSMS/WifiSMS
  Expected in: flat namespace
 in /User/Library/WifiSMS/WifiSMS

I guess it's not compatible with iOS 6?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment