라즈베리파이 파이썬 Permission denied오류납니다 도와주세요!!ㅠㅠ

PIR센서를 이용하여 사람의 움직임이 검출되면 still 사진을 찍고 동영상을 촬영하고 LED 불을 1초간격으로 깜박이고 앱으로 "Alert Alert!!!" 이라는 문자를 보내고 앱에 그 문자가 표시되는 시스템을 만드는 것이 목표입니다

앱은 https://play.google.com/store/apps/details?id=jp.gr.java_conf.tcp_udp_testtool&hl=ko이겁니다.


저주소는 라즈베리파이 주소를 쓰는게 맞는것 같은데 계속 뭐가 없다고 뜨는데 뭐가 없는걸까요...ㅠㅠ


오류



소스코드

 

 

#import

import RPi.GPIO as GPIO

import picamera

import time

import socket

camera = picamera.PiCamera()

 

 

#Ready to Send information to the SmartPhone

com_socket = socket.socket()

com_socket.bind(('192.168.0.48',22))

com_socket.listen(10)

connection, address =com_socket.accept()

print(address," Connected........")

 

 

#Set GPIO

GPIO.setmode(GPIO.BCM)

pirPin = 21

ledPin = 16

GPIO.setup(pirPin, GPIO.IN, GPIO.PUD_UP)

GPIO.setup(16, GPIO.OUT)

 

 

#Start Progrem

while True:

 

if GPIO.input(pirPin) == GPIO.LOW: #Sense the sensorRIP Sensor

 

#Still image capture

camera.rotation = 90

camera.resolution = (1280,720)

camera.start_preview()

camera.capture('cam_1.jpg')

time.sleep(2)

camera.stop_preview()

camera.close()

 

 

#Recording

camera.start_preview()

camera.preview.fullscreen = False

camera.preview.window = (0, 0, 640, 480)

camera.start_recording('video.h264')

time.sleep(5)

camera.stop_recording()

camera.stop_preview()

camera.close()

 

 

#Turns the LED on and off every 1 second

GPIO.output(16, True)

time.sleep(1)

GPIO.output(16, False)

time.sleep(1)

 

#Send information to the SmartPhone

print(connection.recv(4096).decode("UTF-8"))

send_data = input("Alert Alert!!!") 

connection.send(bytes(send_data,"UTF-8")) 

 

#Finsh the Camera

camera.stop_preview()

camera.close()